GLBasic forum

Main forum => Announcements => Topic started by: Darmakwolf on 2015-Apr-03

Title: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-03
<<<! Check newest post for latest version!>>>

My pokemon-like game with my very own little blue blob we've seen a few times on here before! This is version 0.5. I've been working on it for about 2 weeks now.

Controls:
Arrow keys = move
Z = cancel
X = accept
1-5 = zoom window
Return/Enter = Menu
F1-F5 = debug options

Catch Blobomon and raise them as your very own. They level up, learn moves, and gain stats! You go from town to town and fight trainers and leaders, and collect them all! Right now there's no real "content" besides the main little town and Route 1. It's mostly just to debug battles and events. Give it a go if you get bored! BE WARNED: it might take a monster rig to run  :nana:

Jokes aside, it runs in 160x144. Yup. 160 x 144. That's the original Gameboy resolution! It can zoom to several different sized windows, however. It also runs at 30 FPS, so most machines will run the game properly. Pressing "1" to see it in its original format is pretty funny. I plan to make this into an Android mobile game with a Gameboy on-screen controller.

SCREENSHOTS: http://imgur.com/a/yk9sp
DOWNLOAD: https://www.dropbox.com/s/aq3gu2ray7gh9o4/Blobomon%200.5%20Beta.zip?dl=0

Let me know what you think! Keep in mind, most things are placeholders.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-03
Note that there are two other executables in the game folder. those are not necessary to just play the game. blobeventx is a C# eventing interface I created for the event editor in the map editor. BoM is Blobomon On Map. It is used also by the editor to define what enemies can appear on a particular map. In the editor, pressing B called BoM, pressing E on any tile creates a new event with blobeventx.
Title: Update: 0.51
Post by: Darmakwolf on 2015-Apr-03
Update 0.51 addresses several freezes. You can now speak to trainers from any angle and it will initiate battle even if you weren't in their line of sight, just like Pokemon. It also adds special attribute icons! Now if your creature has a special attribute, it will have an icon indicator in the Blobomon menu and in battle. Enemy creatures also have special attribute indicators. Right now there are 22 special attributes. One of them is "Terrifying" (boss monster,) is exceedingly rare, and can occur in wild or trainer Blobomon battles. Right now you can even catch Trainer-owned Blobomon.

Edit: I've removed the map editing tools because I doubt anyone really cares about editing maps.

https://www.dropbox.com/s/ip2wfe57ujwus1g/Blobomon%200.51.zip?dl=0
Title: Blobomon 0.53
Post by: Darmakwolf on 2015-Apr-04
https://www.dropbox.com/s/cwegpkl5ddp2a95/Blobomon%200.53.zip?dl=0

Update 0.53 addresses many glitches, including the infamous "blacked out" glitch when losing all your Blobomon. Potions are now usable (Just no animation/sound,) and I added Spindlescorch. Some moves were adjusted and learn-levels adjusted. Items now increase/decrease properly. Fixed a teleport crash. Fixed some sounds not playing. Next update should have over-time status effects as well as NPC shops.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Ian Price on 2015-Apr-04
Once I get a few minutes I'll definitely check this out. I do enjoy the PokeMon games :)
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-04
Once I get a few minutes I'll definitely check this out. I do enjoy the PokeMon games :)

I'd appreciate that ^^
There's 14,000 lines of code so far! That amounts to an ALMOST functional system so far!
Title: Blobomon 0.55 update
Post by: Darmakwolf on 2015-Apr-04
This update improves a lot of hidden issues, as well as adds SHOP support! There's a tiny general store in Cherrygrove to test out. Selling does not work at the moment, however buying does. Some of the extra unbuyable silly items are just to test out large numbers. Right now you can only really buy Potion and Sphere. Added some sweet shop musics!

https://www.dropbox.com/s/kbab7tp0dhflh29/Blobomon%200.55.zip?dl=0
Title: Re: GLBasic Pokemon! You heard right :P
Post by: erico on 2015-Apr-04
ok, dowloading latest version...should give a go later tonite. :good:
Try not to push 37 newer versions till there. :D
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-04
ok, dowloading latest version...should give a go later tonite. :good:
Try not to push 37 newer versions till there. :D

Too late! Just kidding lol. There will be a new version in about 8 hours.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: erico on 2015-Apr-05
Feels like a pretty full featured system, pretty good!
I went to fight the first left guy with the fire bird and the fight kept going forever, like atfer I defeated the guy, it came another, it that normal?
Will give more goos now.

EDIT: all right, went around I guess pretty much of it, feels pretty good, a very nice system. The strange never ending battle didn´t happen anymore.
What are your plans with it? Are you going to add all story and battles and monsters?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-05
Feels like a pretty full featured system, pretty good!
I went to fight the first left guy with the fire bird and the fight kept going forever, like atfer I defeated the guy, it came another, it that normal?
Will give more goos now.

EDIT: all right, went around I guess pretty much of it, feels pretty good, a very nice system. The strange never ending battle didn´t happen anymore.
What are your plans with it? Are you going to add all story and battles and monsters?

Interesting... I will look into the infini-trainer! xD yes I already have all the towns, events, and main story finished on paper! It'll be a full-featured pokemon-style RPG! Thanks for testing.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: erico on 2015-Apr-05
It is a WELL done job, the whole system!

I have to beg you please let us skip faster the intro talking. It is ok a few times but after playing a lot of times, the startup conversation just goes on way too forever, maybe a faster accel when B is pressed? The current one is not fast enough.

I have experienced one screen that things would not go anywhere from there, but I can´t seem to replicate it. It was one of the battle menus.
Overall it is a great engine!

I´m a fan of this kind of games, specially card ones like the snk vs capcom card clash on the neo geo pocket. :good:
Keep it up!
Where are the updates? =D 
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-05
It is a WELL done job, the whole system!

I have to beg you please let us skip faster the intro talking. It is ok a few times but after playing a lot of times, the startup conversation just goes on way too forever, maybe a faster accel when B is pressed? The current one is not fast enough.

I have experienced one screen that things would not go anywhere from there, but I can´t seem to replicate it. It was one of the battle menus.
Overall it is a great engine!

I´m a fan of this kind of games, specially card ones like the snk vs capcom card clash on the neo geo pocket. :good:
Keep it up!
Where are the updates? =D

If anything like that ever happens again, hold F1 and printscreen please. I just put in a bunch of fail-safes for possible freezes, working on sell-shops at the moment.
Title: Blobomon 0.56 update
Post by: Darmakwolf on 2015-Apr-05
Version 0.56

Fixes shops buying. It would crash if a shop had less than 5 items before. Added "AnTdot" item. Added skills to Grassnitch. Evened out some learned skill levels. Added many fixes to trainer battles, including freeze-fixes and fixed an unlikely scenario where a trainer would never "die." Seemingly fixed a problem where half-defeated trainers would still be half-defeated upon blacking out. Everything seems pretty stable now as far as blacking out, respawning, and fixing trainer original locations and battle setup goes.

TODO: fix selling items at the shop (not possible still, but buying is possible), and proper potion usage w/ animation and sound. Up next will also be evolution, baby!  :good:

Note: Swampsprig still sucks.

Download: https://www.dropbox.com/s/d1x7deyc4thgmy8/Blobomon%200.56.zip?dl=0
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-05
I have to beg you please let us skip faster the intro talking. It is ok a few times but after playing a lot of times, the startup conversation just goes on way too forever, maybe a faster accel when B is pressed? The current one is not fast enough.

No problem! I *just* popped that feature in to the next version. Likely you'll see version 0.58 tomorrow with it, and item-selling. It's just "press Z to skip dialog" - basically any text it'll blow right through if you mash it.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Moru on 2015-Apr-05
The family Pokemon enthusiast is very happy with it so far, she just had a few things:

1. Would be nice if it would remember the last battle action and keep this selected so you don't have to start from the top of the menu each time. If not this, maybe able to sort the buttons yourself.

2. Line break in dialogues would be nice if they would break on space, not in the middle of a word.

3. Load/quit/get back to menu - button in game so you don't have to press the X.

4. When having a high-level pet active she wasn't getting any encounters any more. When switching back to a lower level pet she got encounters again. Might have been bad luck?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-05
The family Pokemon enthusiast is very happy with it so far, she just had a few things:

1. Would be nice if it would remember the last battle action and keep this selected so you don't have to start from the top of the menu each time. If not this, maybe able to sort the buttons yourself.

2. Line break in dialogues would be nice if they would break on space, not in the middle of a word.

3. Load/quit/get back to menu - button in game so you don't have to press the X.

4. When having a high-level pet active she wasn't getting any encounters any more. When switching back to a lower level pet she got encounters again. Might have been bad luck?

Thanks for testing! I'm happy to hear you like it  so far!
Last battle action remembering I can certainly do, it's one line of code and I'll put it in for you. Line break I may not be able to due to the nature of my messaging system. If I implemented such a system it would likely just run many sentences straight off the box and require a whole new box for single words, etc. due to certain battle phrases taking up an entire box even without line breaking... but I can try. I do not understand what you mean by load/quit/get back to menu... Also the encounter thing. Were you exclusively in the grass? Encounters can ONLY happen in the grass. If you step off of the grass, that particular tile could have been the "trigger" step, which resets the encounter randomization. Please test walking in grass a minimum of 30 grass-only tiled on Route 1.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-05
Here is my post-message function:

Code: GLBasic [Select]
FUNCTION postmessage:inmsg$,eventIDpost% = -1

        //New message instance
        LOCAL newmsg AS message

        //Push to message array
        newmsg.msg$ = inmsg$
        DIM newmsg.words$[LEN(inmsg$)]
        LOCAL p%
        FOR p = 0 TO LEN(inmsg$)-1
                newmsg.words$[p] = MID$(inmsg$,p,1)
        NEXT
        newmsg.eventID = eventIDpost
        DIMPUSH messages[],newmsg

        //Tells us we're in a message event
        inmessage = 1

ENDFUNCTION

if someone could help make a function to format the text (inmsg$) BEFORE sending it to the message array, it could fix the line breaking. Basically each line is a maximum of 19 characters. I don't know how to make it format an incoming text so that it determines the length of the next word and adds spaces so that it pops down to the next line...
Title: Blobomon v. 0.57 update
Post by: Darmakwolf on 2015-Apr-05
https://www.dropbox.com/s/bcxciqv9i7w74e8/Blobomon%200.57.zip?dl=0

0.57 is live. Pressing Z will skip text boxes completely for the impatient ones  ::)
Fixed many more glitches. Fixed a persistence bug with event placement/walk timing.
Removed some redundant code to optimize a few situations. Battle commands are remembered, so you can mash X to keep Firebeaming! :P
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Ian Price on 2015-Apr-05
That's really good :)

I played it for about 15 minutes, managing to beat a couple of the other trainers and picked up items etc. without problem.

My comments are mainly referencing the differences to PokeMon, as if this was a brand new game and PokeMon didn't exist, they wouldn't be issues, so bare that in mind :) Also, I won't mention the text wrap problem ;)

The only issues I found were -

1. You can (and can try) capture a trainer's Blobomon - the real game doesn't allow that. I do like that capture system idea though :)

2. Sometimes when you are offered a choice of YES/NO the highlighter doesn't appear straight away. I'll try to identify exactly when when I get more time.

3. In Pokemon the early trainers only hold one Pokemon, whereas in this game they can hold two or more - you can't run, so you get wiped out after a battle or two if you have no potions - which happens with Kiddo when you first walk straight out of the Bloak's Lab.

4. In one round my fainted Blobomon appeared to gain EXP from battles. A non-combatant Blobomon also gained EXP. IIRC.

It certainly captures the look, feel and gameplay of PokeMon. The jokes are good too :)

I'm loving it so far. Keep up the excellent work.  :good:


BTW This was V0.56 - you posted your update while I was typing! :P
Title: Blobomon 0.60 - MAJOR update
Post by: Darmakwolf on 2015-Apr-05
0.60 is here! In this version, I have completely switched to chiptunes and FMOD!

Hilights:
*All music is modular. File size for the game is cut DRASTICALLY
*I picked the swankiest chiptunes I could find that are royalty-free ^^
*WEATHER effects are in testing in this version. Cherrygrove has become Rainygrove!
(Press F8-F10 to change weather. so far there's just day time, night time, and rain)

Download: https://www.dropbox.com/s/aufezqeq0wvongo/Blobomon%200.60.zip?dl=0


Ian: Thanks for testing! I am well aware of the wrapping issue, and well aware you can catch trainer creatures. The catching is for testing purposes for now. In fact in the final game you WILL be able to catch trainer Blobomon, but it will be very difficult and super risky, and will require "black market" items that are unethical and expensive  :D
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-05
That's really good :)

I played it for about 15 minutes, managing to beat a couple of the other trainers and picked up items etc. without problem.

My comments are mainly referencing the differences to PokeMon, as if this was a brand new game and PokeMon didn't exist, they wouldn't be issues, so bare that in mind :) Also, I won't mention the text wrap problem ;)

The only issues I found were -

1. You can (and can try) capture a trainer's Blobomon - the real game doesn't allow that. I do like that capture system idea though :)

2. Sometimes when you are offered a choice of YES/NO the highlighter doesn't appear straight away. I'll try to identify exactly when when I get more time.

3. In Pokemon the early trainers only hold one Pokemon, whereas in this game they can hold two or more - you can't run, so you get wiped out after a battle or two if you have no potions - which happens with Kiddo when you first walk straight out of the Bloak's Lab.

4. In one round my fainted Blobomon appeared to gain EXP from battles. A non-combatant Blobomon also gained EXP. IIRC.

It certainly captures the look, feel and gameplay of PokeMon. The jokes are good too :)

I'm loving it so far. Keep up the excellent work.  :good:


BTW This was V0.56 - you posted your update while I was typing! :P

Indeed you're right about the exp problem - I just fixed it. Next release will have it. Basically the type variable "didBattle" wasn't being reset, so if it was a participant in one battle, it would be in the next even if it were dead... sometimes. xD
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Moru on 2015-Apr-05
There are a few word wrap functions around the forum, just search for "word wrap" (Just make sure you go back to the start-page of the forum before you search).

Explanation for #3:
3. Load/quit/get back to menu - button in game so you don't have to press the X.
- There is no load button in the menu, only save. If you get stuck and want to load the game again you have to shut down and restart the game.

The game looks very good so far!
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
There are a few word wrap functions around the forum, just search for "word wrap" (Just make sure you go back to the start-page of the forum before you search).

Explanation for #3:
3. Load/quit/get back to menu - button in game so you don't have to press the X.
- There is no load button in the menu, only save. If you get stuck and want to load the game again you have to shut down and restart the game.

The game looks very good so far!


Oh! Will do!
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Moru on 2015-Apr-06
Oh, the memory-function for last attack is nice! Maybe reset the last attack if you change pet so it doesn't try to attack with a second attack the new pet haven't learned yet.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
Oh, the memory-function for last attack is nice! Maybe reset the last attack if you change pet so it doesn't try to attack with a second attack the new pet haven't learned yet.

I'll patch that in. Also.... hmn. A friend of mine has a point. When I play these chiptunes in XMPlay or VLC, they actually sound W A Y better than in-game..... this fmod.dll that comes with the glbasic samples folder... is this an ancient version?? huh...
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
Does anyone have any experience with importing DLL functions and want to help me get the latest FMOD working? I think the version in examples is super ultra old...
Title: Re: GLBasic Pokemon! You heard right :P
Post by: erico on 2015-Apr-06
GLB currently plays MOD and IT out of the box, why do you need fmod I wonder?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
GLB currently plays MOD and IT out of the box, why do you need fmod I wonder?

.............................................. wait what? why was I not informed of this... uh. 1 sec. I feel stupid now xD
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
using PLAYMUSIC I get nothing with any of my MOD files. Special way to handle it?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: erico on 2015-Apr-06
hmmm wait, maybe there is more to it.
I tried such on android and it was all fine, check this thread:
http://www.glbasic.com/forum/index.php?topic=9933.msg86777#msg86777

Maybe there is a way to use it on PC?
There was a discussion about it some time ago, but I can´t seem to find it.
Maybe someone else can help this front?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
hmmm wait, maybe there is more to it.
I tried such on android and it was all fine, check this thread:
http://www.glbasic.com/forum/index.php?topic=9933.msg86777#msg86777

Maybe there is a way to use it on PC?
There was a discussion about it some time ago, but I can´t seem to find it.
Maybe someone else can help this front?

it doesn't work on PC because it's using libmikmod in the android version. So apparently on desktops unless you have a MOD codec installed it won't  "just play." If someone could help me wrap bass.dll or the newer fmod / fmodex I could get accurate chiptune playback... I'd appreciate the help.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: erico on 2015-Apr-06
You are right Darkmanwolf, I thought that was working on desktops too. :-[
Well, call for arms?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-06
Well after some experimentation, it seems it's MOSTLY the .xms that are affected. I could just basically use .MOD/.IT and stick with that for now. Major problem though: No matter what I try, I can't get music to loop.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: spacefractal on 2015-Apr-06
Im thinks only Android support it out of box. Its include MIKMOD player to the SDLMIXER its uses.
Title: 0.61 update!
Post by: Darmakwolf on 2015-Apr-07
https://www.dropbox.com/s/c4o9xgkyofqhvgh/Blobomon%200.61.zip?dl=0

Changes:

*Rain now ... well sounds like rain! (Outside of battle.)
*Weather system now affects elements. Example: In a rainstorm, fire does less, water and lightning/wind do more.
*Added some tiles to the tileset. Touched up Rainygrove/Route1
*Added a Grassnitch statue in a fenced in area in Rainygrove. Good spot to level up!
*Adjusted required-exp modifier (to be more exponential.)
*Fixed some MOD/XM/IT playback issues with looping. Added new tunes.
*Added more fitting music to Route 1
*Added item descriptions to shop
*Fixed the infinitrainer glitch... AGAIN! xD
*Fixed element issues (Follows Ragnarok Online's element chart for level 1 elements. Always was my fav!)
*Fixed a collision problem where any tile on the far-right edge of any map was always walk-thru.
*Frame rate increase: removed some bulky code being run on each render.
*Other minor improvements/stability updates
*As per suggestion, last-used-moves are remembered, and defaulted when a new Blobomon is chosen.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Ian Price on 2015-Apr-07
:)
Title: Version 0.63
Post by: Darmakwolf on 2015-Apr-07
<link redacted, working on a mega glitch >->>

Holy moly. I made a text wrapping algorithm for my messaging system. It was SUPER difficult to make - harder than anything I've ever made in GLBasic. It had to do with the way my message system was so integrated to work a certain way, letter by letter... but now it's good! Text wraps. If it's too long of a message, it pops another messagebox with the rest of the text after. Was not easy!
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Ian Price on 2015-Apr-07
Text wrapping is generally very easy, you difficulty was caused by the limit size of the text box area.

Have you considered increasing the size of the screen and text box areas etc? Just because the original game was limited to the small screen it doesn't mean a "remake" has to be.

Anyway, glad you got it sorted :)
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-07
Ian, that's almost insulting lol. The screen will not change. After 14,000 lines of code that rely on 160x144, I'm not going to spend a week making the screen bigger for a game trying to be like a gameboy game.
Title: Version 0.63b
Post by: Darmakwolf on 2015-Apr-07
https://www.dropbox.com/s/i91yxkkubj0arub/Blobomon%200.63b.zip?dl=0

Fixed! Now has text wrapping working properly :)
Title: Project Blobomon V. 0.64 update!
Post by: Darmakwolf on 2015-Apr-08
https://www.dropbox.com/s/ktn5s87rav2tisb/Project%20Blobomon%20V.%200.64.zip?dl=0

0.64 is here! New and improved!

*Better title screen + music
*Load screen at beginning while processing sprites/wavs
*Fixes several instances where trainer enemies weren't dying properly
*Fixed a walk-through-walls exploit
*Fixed a framerate issue while switching Blobomon after one dies
*Fixed a glitch that would cause the game to be unplayable after blacking out in certain conditions
*Fixed NPCs making solid walls... unsolid.
*Fixed events that would hang if you mashed X through them
*Added status effects (Works on enemies only atm.) Claw for the time being has a chance to poison.
*Fine-tuned word wrapping.
*Cleaned up Debug Menu (F1)
*Finished elemental modifiers for weather (higher water / wind dmg, lower fire in rain, etc)
*Removed several debug keys that were game-breaking


TODO:
Make potions work on any Blobomon in the party, outside and inside of battle.
Make "sell" work in shops. (Do not use it atm, it's under construction!)
Make evolutions work
Make the "skills" button in Blobomon menu work

After that short todo list, I can concentrate on game content!!  =D
Title: Re: GLBasic Pokemon! You heard right :P
Post by: spacefractal on 2015-Apr-08
yes its a very small window size, too small on a PC monitor.

But you do not need to using bigger internal resolution, which can still been 160x144 (my latest game, CatchOut used even lower internal resolution, about 82x52).

So all needs for bigger Windows is simply doing a 2x and/or 3x scaling, which can been done via virtual screen. That all.

You can eventuelly use this snippet (its not just for Android):
http://www.glbasic.com/forum/index.php?topic=9848.0
Title: Re: GLBasic Pokemon! You heard right :P
Post by: MrPlow on 2015-Apr-08
Quote
if someone could help make a function to format the text (inmsg$) BEFORE sending it to the message array, it could fix the line breaking. Basically each line is a maximum of 19 characters. I don't know how to make it format an incoming text so that it determines the length of the next word and adds spaces so that it pops down to the next line...

I did something similar with text messages but I used an array of lines where each line was x in length so it wouldn't go out of the box.

message box max was 5 lines, typewriter style displaying of the text, each new line only activated at the end of the last, when 5 lines finished there was a pause and cleared last 5 lines and started with new 5.
Or something like that...
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-08
yes its a very small window size, too small on a PC monitor.

But you do not need to using bigger internal resolution, which can still been 160x144 (my latest game, CatchOut used even lower internal resolution, about 82x52).

So all needs for bigger Windows is simply doing a 2x and/or 3x scaling, which can been done via virtual screen. That all.

You can eventuelly use this snippet (its not just for Android):
http://www.glbasic.com/forum/index.php?topic=9848.0

Perhaps you should push keys 1-6? It can go up to 6x window size...
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-08
Quote
if someone could help make a function to format the text (inmsg$) BEFORE sending it to the message array, it could fix the line breaking. Basically each line is a maximum of 19 characters. I don't know how to make it format an incoming text so that it determines the length of the next word and adds spaces so that it pops down to the next line...

I did something similar with text messages but I used an array of lines where each line was x in length so it wouldn't go out of the box.

message box max was 5 lines, typewriter style displaying of the text, each new line only activated at the end of the last, when 5 lines finished there was a pause and cleared last 5 lines and started with new 5.
Or something like that...

Already done. See version 0.64 :)
Title: Re: GLBasic Pokemon! You heard right :P
Post by: spacefractal on 2015-Apr-08
haha :-). Im diddent notice that. Its all required.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: nabz32 on 2015-Apr-08
is UBB still in development?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-08
is UBB still in development?

Every friend I showed Uber Bash Bros. hated it or said it wasn't fun. No one on here really liked it either. I'll post the source code for you if you want.
Title: GLBasic Rocks!
Post by: Darmakwolf on 2015-Apr-09
GLBasic rocks! I basically made a minor adjustment and now the game fully compiles for and runs on Android, original chiptune formats and all!! I'm giving it a "classic gameboy" on-screen control system  :good:

Just updated the .apk to the new AndroidExtras version! Loads quickly and battles don't crash.

ANDROID VERSION: https://www.dropbox.com/s/ka22e92v6mesdi7/Blobomon%200.64%20A2.apk?dl=0
Title: Version 0.65 Update (Windows + Android)
Post by: Darmakwolf on 2015-Apr-10
0.65 is here! It's 99% stability patches and Android fixes.

Android download: https://www.dropbox.com/s/nrpskdli6wi4rof/Blobomon%200.65.apk?dl=0
Windows download: https://www.dropbox.com/s/fbbstbi3ru2sylv/Blobomon%200.65.zip?dl=0

On Android, it now makes full use of Android Extras' audio functions for sound effects. Now the sound is consistent and quick to play, and doesn't crash. I also fixed a bug where damage dealt could be in the negative, which would cause the game to loop forever in battle. That's been addressed. On Android, you can press the very bottom-left of the screen to open the debug window to check FPS etc.

*Added a quit button that goes to the main menu* - this feature is untested besides a few quick moments.  :booze:
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-10
Here are screenshots from my DROID Turbo playing Blobomon in 1440x2560 at 30 fps (my project's max FPS) I plan to make a button on the virtual gameboy to change its color :)

http://imgur.com/a/5U3wu
Title: Re: GLBasic Pokemon! You heard right :P
Post by: spacefractal on 2015-Apr-10
You can checks back button key(1) and menu key(82) as well to bring up the pause/menu. You dont need a onscreen pause button on Android, but require on iOS.

Im thinks there was few bugs with key(82) im fixed yesterday, which im just fixed (its in sdl_main.cpp).

Remember a touch are not that precision, so you cant do check a single pixel detection. You might need to do a little area there. Alternative do a old-school cheat code, or just put that in the menu.

Im gonna think the red background should have been gray, so its fellow the gameboy skin?
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-10
No idea what you mean by an old school cheat. If you mean game cheats, then no it will not have any. It also checks a 16x16 pixel area around the thumb. I could make it bigger, but I've had 12 friends test it and no one complained of control issues. I'll make the "thumb fatness" option for you though  =D

Also I already added a color changer for the gameboy. It's pretending to be Gameboy COLOR, which was never grey.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: spacefractal on 2015-Apr-10
hehe. 16x16 should been ok. The cheat code what not meant for gameplay cheat, but could also been used for debug thing as well. Im did something like that in Greedy Mouse.

etc pressing konami code could show the debug thing.
Title: Version 0.66 Update (Windows + Android)
Post by: Darmakwolf on 2015-Apr-10
Version 0.66, hot out of the oven!

Windows: https://www.dropbox.com/s/jgqlgb7wjxvdnfo/Blobomon%200.66.zip?dl=0
Android: https://www.dropbox.com/s/a8k2dzwtuc7ve3j/Blobomon%200.66.apk?dl=0

What's new:

*You can now buy AND sell in shops*
*Potions can be used to heal ANY Blobomon in battle, you can choose*
*Fixed a silly glitch I'm too embarrassed to mention because it was silly!*
*Reduced rendering load, some slower android devices should fare better.*

Known glitches:

*Trying to catch a "slow" Blobomon (rare instance,) will freeze the battle. It has to do with using a Sphere causing your turn to skip, making the enemy go first. A "slow" Blobomon forces the turn to belong to the player first, so there's a discrepency. Slow is bad anyway, just kill 'em! :P

*Using the hidden debug menu before starting a new game or loading a game will crash the game.
Title: Update 0.68
Post by: Darmakwolf on 2015-Apr-12
Download for Android: https://www.dropbox.com/s/dysr4lhofomlgro/Blobomon%200.68.apk?dl=0
Download for Windows: https://www.dropbox.com/s/j3c7qrah4gnjy9v/Blobomon%200.68.zip?dl=0
Screenshots: http://imgur.com/a/45ydJ

What's new:

*Android version now much more closely represents a Gameboy Color. Gameboy color theme can be changed by tapping the upper-left of the screen, and the color you choose will save!
*Someone managed to find the infinite-trainer glitch... AGAIN. Which has not been most assuredly fixed! xD
*Optimized tile layer 2 and weather layer to be more friendly to slower PCs and phones.
*Selling at shops now works 100%, as does using potions on any target in battle.
*Fixed many glitches pertaining to status effects.
*Fixed "Received 0 exp" glitch.
*Fixed sound not stopping on exit sometimes
*Fixed being unable to catch "Slow" blobomon

Note: Do not select "Skills" under the Blobomon menu outside of battle yet. It is under construction and will result in an inescapable black void of doom.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-13
http://imgur.com/J6BznFp

The new Android UI is looking better!
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Ian Price on 2015-Apr-13
Yep, that's looking really nice :)
Title: Re: GLBasic Pokemon! You heard right :P
Post by: nabz32 on 2015-Apr-13
The only thing I would add is a bit of interpolation on the button edges,
other than that looking good.

Also tried this and its very close to the original, good work so far.
Title: Re: GLBasic Pokemon! You heard right :P
Post by: Darmakwolf on 2015-Apr-14
The only thing I would add is a bit of interpolation on the button edges,
other than that looking good.

Also tried this and its very close to the original, good work so far.

Can't do the edges because they get resized anyway, it's not just a big picture of a gameboy. Besides, do you really think I'm going to worry about pixelation on a gameboy game control? :P