Log In
Name:
Pass:
Online Members (0)
No members are currently online.
Current Interguild Time:
Thu Mar 28 2024 7:50 pm
Member Chat Box  [click here to enlarge]
Recent Posts and Comments
« Forum Index < Platformers Board

DroidFreak36
[?] Karma: +6 | Quote - Link
Wednesday, August 16 2017, 7:27 am EST
HATPC Reborn Dev

Age: 30
Karma: 200
Posts: 491
Gender: Male
Location: droidfreak36.com
pm | email
As predicted, version 0.4.2 is rolling up this morning! This is actually a pretty big update, since I've had plenty of dev time load it with features.

Play it here: http://droidfreak36.com/HATPC/0_4_2/

Changelog:
* All vanilla HATPC levels that don't use taps have been adapted for HATPCR: levels 2, 4, 7, 10, 11, 12, 14, 16, 19, and 20. I'll upload the level codes to the IG soon.
* Tutorial message are now displayed as dialog boxes / chat bubbles that appear above or below Hannah and do not pause the game. This is in keeping with the planned HATPCR campaign, where tutorial messages will be written from Hannah's perspective.
* Water colors are now available! Use the standard 3 styles with "water clear", "water murky" and "water dark" or mix it up by replacing the water line with the word "sparse", "medium" or "dense" followed by a HTML-style 6 digit hex color code. For instance, "dense C100FF".
* Swimming tweaks:
   * Swimming acceleration has been reduced to 1/4 of its previous amount
   * The edge climbing mechanic will no longer trigger if there is no ledge to climb on to or the down key is held
   * Air bubble length has been further reduced from 1.5s to 1s and there is a brief period when you enter water before you start losing bubbles. Total air time: 700 ticks (11 & 2/3 seconds)
* Water-related sounds and particle effects are here! Bubbles adapt their color to the level's water color, but splash particles don't (yet).
* Falling objects are now slowed by water (and have splash sound and particle effects when entering water)
* It should now be possible to make deadly water by adding the line "$deadly_water()" to the end of your level code. I haven't tested this yet, so fingers crossed that it works.
* Increased horizontal climbing speed from 1 px/t to 2 px/t
* Levels loaded from neopets.com will now automatically add the "$inv()" line for startup invincibility
* Dynamite will now explode on the surface of terrain it collides with rather than on the terrain tile itself
* Fixed a bug introduced in 0.4.1 that increased door hitboxes to their full size rather than only the bottom center
* Fixed a bug where enemies could get stuck inside fallen objects and not walk out of them (EDIT: Or maybe I didn't, lol)




Quote:
Rictory for Ralkyon!

HATPC Reborn home page
jebby
[?] Karma: 0 | Quote - Link
Wednesday, August 16 2017, 8:43 am EST
Interguild Founder

Age: 32
Karma: 233
Posts: 968
Gender: Male
Location: United Kingdom
pm | email
Out of interest, how manageable is your codebase now? How have you handled its growing size and complexity?
Rocketguy2
[?] Karma: 0 | Quote - Link
Wednesday, August 16 2017, 1:52 pm EST
God wishes he was me

Age: 21
Karma: 38
Posts: 850
Location: Clinging to the last whispers of life in my decaying body
pm | email
The scrolling speed is excruciatingly slow, can you speed it up a bit?

Also, could you make it so the messages don't disappear off the side of the level?

Climbing ladders also makes the messages really freak out


Can you feel your heart burning?
Can you feel the struggle within?
The fear within me is beyond anything your soul can make, you cannot kill me in a way that matters
atvelonis
[?] Karma: +1 | Quote - Link
Wednesday, August 16 2017, 2:01 pm EST
Apocryphal Ruminator

Karma: 160
Posts: 1642
Gender: Male
Location: An antique land
pm | email
The new tutorial messages look good! Perhaps we should have the option of using the old texture for the tutorial messages too, though: I think it's mostly nostalgia, but I do really like how they look, even if the pausing was annoying as heck. Perhaps give the player the option to toggle the texture from old/new, and to toggle the pausing of the game on/off (off by default). If level creators want to implement more story into their levels, players will probably stop moving to read the longer messages anyway, so it doesn't hurt to let the game auto-pause if a player would prefer it that way.

One other thing, it might be good to let the tutorial messages stick around for a couple extra seconds. I can read them just fine, but slower readers might have a bit of trouble, as they disappear pretty quickly after writing out all the text.


'jellsprout' said:
As a kid I always thought tennisballs looked delicious and I liked biting them. I still remember the feel of the fuzz on my teeth and tongue.
DroidFreak36
[?] Karma: 0 | Quote - Link
Thursday, August 17 2017, 1:26 am EST
HATPC Reborn Dev

Age: 30
Karma: 200
Posts: 491
Gender: Male
Location: droidfreak36.com
pm | email
'jebby' said:
Out of interest, how manageable is your codebase now? How have you handled its growing size and complexity?

Well, GameMaker games are basically object-oriented so a lot of the codebase is kept in manageable chunks. On the other hand, there's quite a bit of stuff that was sort of added on as needed, especially in the startup subroutines and in the Hannah object. The startup sequence is pretty complex:

* rm_startup creation code (149 lines): Does startup initialization and loads block data
If you click start, you go to rm_lvl_select containing obj_level_select that populates and manages the level select buttons. Once you select one, the game launches into
* scr_start_level() (206 lines): Selects the level file based on global.level (which was set in the level select menu) and loads its data into arrays, then launches rm_next_level
* rm_next_level runs scr_render() (99 lines): Pre-renders the terrain of the level and saves it to global.blocksbg to be chopped up later, then redirects to rm_level
* rm_level runs scr_create_level() (594 lines): Loads level data from arrays and terrain data from global.blocksbg to construct the actual level, and also create the meta-objects obj_camera and obj_cavemaster which have their own creation code.

If you're loading a user level, then scr_start _level() is replaced with scr_load_user_level() which contains a lot of the same code, but gets the level file from a different source.

Overall, the codebase is fairly manageable, but as always with coding a certain amount of mental gymnastics is needed to keep things straight, and sometimes it's hard to figure out where a bug is coming from because there are so many distinct bits of code. For instance, is that bug that causes enemies to get stuck in fallen (or pushed) objects in the enemy AI code or the enemy collision code? There's a decent amount of overlap between them and apparently the part that I changed was not solely responsible for the bug because it's still in version 0.4.2.

'Rocket Guy2' said:
The scrolling speed is excruciatingly slow, can you speed it up a bit?

I assume you mean the speed at which the text rolls out, in which case yes, I should be able to speed it up a bit. I don't want it to be too fast though.

'Rocket Guy2' said:
Also, could you make it so the messages don't disappear off the side of the level?

Yeah, I'll look into that.

'Rocket Guy2' said:
Climbing ladders also makes the messages really freak out

They look fine to me. What are you seeing them do?

'atvelonis' said:
The new tutorial messages look good! Perhaps we should have the option of using the old texture for the tutorial messages too, though: I think it's mostly nostalgia, but I do really like how they look, even if the pausing was annoying as heck. Perhaps give the player the option to toggle the texture from old/new, and to toggle the pausing of the game on/off (off by default). If level creators want to implement more story into their levels, players will probably stop moving to read the longer messages anyway, so it doesn't hurt to let the game auto-pause if a player would prefer it that way.

It would be hard to unlink the pausing/unpausing from the old and new message style because they're tied up in completely different systems, and it wouldn't really work to be unpaused with the old message system because they block the whole screen.

However, I should be able to add in a way to use the old tutorial messages as well as the new ones. All the code is still there (in fact, it is actually still used if you press ESC), I just need to set up the option in the level file loader.

Also, I think I'll set it up so that the new tutorial messages will only fade out if the player is moving Hannah, so if they hold still to read the message, it won't pause the game per se but the message won't fade until they're done reading it.

'atvelonis' said:
One other thing, it might be good to let the tutorial messages stick around for a couple extra seconds. I can read them just fine, but slower readers might have a bit of trouble, as they disappear pretty quickly after writing out all the text.

Yeah, besides the aforementioned change I think I'll also increase the time before they fade out a bit, especially if I increase the speed it rolls out at like Rocket Guy2 wants.

P.S. - How do I get quotes to say who they quoted? I tried the standard BBcode method but it didn't work.




Quote:
Rictory for Ralkyon!

HATPC Reborn home page
Yaya
[?] Karma: 0 | Quote - Link
Thursday, August 17 2017, 1:52 am EST

Age: 28
Karma: 747
Posts: 5367
Location: Ohio (US)
pm | email
[quote='person's name']quote[/quote]
The "said" is added automatically




COMING SOON: A giant meteor. Please.
Give me +karma. Give me +karma.
DroidFreak36
[?] Karma: 0 | Quote - Link
Thursday, August 17 2017, 2:03 am EST
HATPC Reborn Dev

Age: 30
Karma: 200
Posts: 491
Gender: Male
Location: droidfreak36.com
pm | email
So it works with ' but not with " or without quotes?

(╯°□°)╯︵ ┻━┻

Fix your forum, Livio.




Quote:
Rictory for Ralkyon!

HATPC Reborn home page
Rocketguy2
[?] Karma: 0 | Quote - Link
Thursday, August 17 2017, 9:04 am EST
God wishes he was me

Age: 21
Karma: 38
Posts: 850
Location: Clinging to the last whispers of life in my decaying body
pm | email
'DroidFreak' said:
I assume you mean the speed at which the text rolls out, in which case yes, I should be able to speed it up a bit. I don't want it to be too fast though.


nah, I meant the speed of scrolling in the level select screen, where you pick the level


Can you feel your heart burning?
Can you feel the struggle within?
The fear within me is beyond anything your soul can make, you cannot kill me in a way that matters
DroidFreak36
[?] Karma: 0 | Quote - Link
Thursday, August 17 2017, 11:03 am EST
HATPC Reborn Dev

Age: 30
Karma: 200
Posts: 491
Gender: Male
Location: droidfreak36.com
pm | email
Oh, right. I was working on a laptop with no mouse so I couldn't really test out the mouse wheel scroll speed.




Quote:
Rictory for Ralkyon!

HATPC Reborn home page
krotomo
[?] Karma: +2 | Quote - Link
Thursday, August 17 2017, 9:26 pm EST
The Shepherd

Age: 23
Karma: 249
Posts: 4066
Gender: Male
Location: My chair
pm | email
These water colors are legendary. Can't wait to make a level with green terrain and a fuchsia water

« Forum Index < Platformers Board

In order to post in the forums, you must be logged into your account.
Click here to login.

© 2024 The Interguild | About & Links | Contact: livio@interguild.org
All games copyrighted to their respective owners.