Re: Some scripts from Grikarugun.
Quote:
Originally Posted by
Joe123
Using arrays is much easier =P
If you can generalise and use maths instead of writing out lots of code, it's much better.
Hindsight is always 20/20. ;) You can't write out an impromptu before it's played.
I still disagree with the arrays though. Everything else besides that one chunk of code is in it's own little tidy loop.
...And fine, I'll edit in your 'condensed' modulous version. ...Actually, nope. :tongue: You forgot the modulous maths for the csets. :P
Re: Some scripts from Grikarugun.
Heh, I didn't actually read through the rest of it I'm afraid.
It's too big and there's nothing to show what it actually does.
Apart from actually opening up the quest, and I'm far too lazy to do that.
Re: Some scripts from Grikarugun.
Unfortunately, that's always going to be a problem for custom scripts. But what's the alternative? Not post anything at all? I've been trying to reduce lots of code into functions, as that's something that is easy to use and customise, but you still need to know some scripting to use them. Some of this is completely useless to someone who knows nothing about zscript, but really though, bottom line is that the code is here. In a year from now someone will play the game and want to know what the scripts look like, and they'll be here.
Quote:
It's too big and there's nothing to show what it actually does.
Pssh!! You need to read outside the code tags. Link is in my sig. :)
Re: Some scripts from Grikarugun.
Oh...
Read outside the code tags.
Now why didn't I think of that *slaps self*
Re: Some scripts from Grikarugun.
Those first few utility functions rock the fucking house and I am going to be abusing them immediately for use in Zodiac.
Hooray for re-making code from scratch as stuff improves!
Re: Some scripts from Grikarugun.
Am I dreaming or the screen is scrolling?! If it is the case, is there some hope of z3 screen scrolling?
Re: Some scripts from Grikarugun.
Screen scrolling : Sorta.
Z3 Movement : Nope, unless you feel like re-scripting solidity, enemy movement, and combo types from scratch.
Re: Some scripts from Grikarugun.
Re: Some scripts from Grikarugun.
Unfortunatly thats more jury-rigged eye-candy than anything. Solidity is non-existent and I don't think enemies even worked. Extremely impressive techniclly, but not much use practicaly...
*sigh* Maybe someday...
Re: Some scripts from Grikarugun.
Like I said before... yes, you can do scrolling graphics fairly easily. But to get true Z3 scrolling you'd need to scrap almost everything ZC does for you. Possible? Absolutely. But it'd be a ton of work, and you'd be scripting from scratch everything from solidity to secret flags, combos to enemy spawning.