ZFGC
Resources => Coding => Topic started by: Nubcake on February 17, 2013, 09:41:03 pm
-
After moving on from GM I realised it's quite hard to recreate things in a HLL where you have to handle like everything. Anyway I wanted to create a simple textbox 'engine' and I'm quite stuck in how to code one part whih is familiar to a zelda/pokemon type game (The old ones & some new) with the scrolling text bit. I don't have GM anymore and Diminish's Pokemon Overworld link seems dead so ...
After two lines of text are displayed it waits for the user to hit the on the continue key before moving the text up and drawing more chars - > Moving the text up has always fascinated me and made me wonder how it is done which is what I can't figure out. Is some layer drawn above the textbox as soon as it's moved up to 'hide' it ?
Any thoughts on this?
Nubcake
-
What you could do is make each string an entity and toggle it's visibility when it's out of the text box, not exactly optimal but it does work.
EDIT:
Also GML is a Highlevel while C/C++ is a mid to low level, and ASM being the lowest before binary
EDIT2:
The "level" of a language pertains to the amount of abstraction there is, the more abstraction, the higher the level.
-
What you could do is make each string an entity and toggle it's visibility when it's out of the text box, not exactly optimal but it does work.
It's doable however i don't think the transition from moving the text upwards is instant or it could be ? I could record it on an emulator if I had the software .
That's given me ideas though.
Also GML is a Highlevel while C/C++ is a mid to low level, and ASM being the lowest before binary
The "level" of a language pertains to the amount of abstraction there is, the more abstraction, the higher the level.
Never considered GML Highlevel but I see your point.
-
While the Pokemon text engine stuff I did had a lot of neat features, it was really hindered by the limitations of the free version of Game Maker. The link in the topic to it probably refers to the old resource system on the site, if you need me to reupload it I could although the version on the new project system under Tutorials might be that same version.
-
While the Pokemon text engine stuff I did had a lot of neat features, it was really hindered by the limitations of the free version of Game Maker. The link in the topic to it probably refers to the old resource system on the site, if you need me to reupload it I could although the version on the new project system under Tutorials might be that same version.
Yes that would be great if you could provide an .exe as I don't use/have GM anymore. Also maybe a little explanation of how you did it ?
Thanks
-
Never considered GML Highlevel but I see your point.
GML is VERY high level. The more the language does for you, the higher level it is.
-
Actually I don't think GML even qualifies as a programming language. It's a scripting language.
-
Yea, I'd have to agree with that.
-
While the Pokemon text engine stuff I did had a lot of neat features, it was really hindered by the limitations of the free version of Game Maker. The link in the topic to it probably refers to the old resource system on the site, if you need me to reupload it I could although the version on the new project system under Tutorials might be that same version.
Yes that would be great if you could provide an .exe as I don't use/have GM anymore. Also maybe a little explanation of how you did it ?
Thanks
I would do that, but I really don't understand how that could help you out. The .exe would just demonstrate how the end result of how the text is displayed, and given that you want to do something in language beyond Game Maker - the explanation would be for something that could be implemented differently and/or possibly more efficiently in another language. It wouldn't be applicable to what you're trying to do.
-
The exe would just show me how the end result looks which is useful because it might be whether I like how it looks or not. I don't think I need the explanation now since hawthornedote said that the top line should be invisible which got me thinking it looks a lot like that when I ran OOA.