Monsters Beta. :)
Moderator: MaxCoderz Staff
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
Looks like mabey I used too many gotos.
Will fix this in next version also try doing a garbage collect. Go to the catalog and then to the g section should be there. ![Smile :)](./images/smilies/grayscale_smile.gif)
![Razz :P](./images/smilies/grayscale_grin.gif)
![Smile :)](./images/smilies/grayscale_smile.gif)
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
True I guess I over did on the gotos will fix soon. ![Razz :P](./images/smilies/grayscale_grin.gif)
![Razz :P](./images/smilies/grayscale_grin.gif)
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
I am not good at optimizing so yes there is lots of optimizing to do.
But the maps should run fast if you do a garbage collect!! ![Very Happy :D](./images/smilies/grayscale_happy.gif)
![Razz :P](./images/smilies/grayscale_grin.gif)
![Very Happy :D](./images/smilies/grayscale_happy.gif)
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
No not really but I will post stuff here to see if you can modify it dont go through the code though.
Dont want you to see some of my secrets.
LOL like I have any secrets.![Rolling Eyes :roll:](./images/smilies/grayscale_rolleyes.gif)
![Razz :P](./images/smilies/grayscale_grin.gif)
![Wink :wink:](./images/smilies/grayscale_wink.gif)
LOL like I have any secrets.
![Rolling Eyes :roll:](./images/smilies/grayscale_rolleyes.gif)
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
Yep I know no need to the game is gona be open source!!
So I dont really care if you steal the code as long as you give me credit. ![Very Happy :D](./images/smilies/grayscale_happy.gif)
Anyways could someone optimize this...
ÃÂÂ
![Smile :)](./images/smilies/grayscale_smile.gif)
![Very Happy :D](./images/smilies/grayscale_happy.gif)
Anyways could someone optimize this...
ÃÂÂ
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
Some really simple stuff first:
If áMAP(1)=5:Then
If 5=áMAP(1:Then
If [A]((Y/8)+T,(X/8)+S+1)=58:Then
If 58=[A]((Y/8)+T,(X/8)+S+1
Then
Just stuff like that saces a little
If Y=0 and T=0
If Y=0 and not(T
If [A]((Y/8)+T+2,(X/8)+S+1)=0 or [A]((Y/8)+T+2,(X/8)+S+1)=26 or [A]((Y/8)+T+2,(X/8)+S+1)=10:Y+8üY
Y+*([A]((Y/8)+T+2,(X/8)+S+1)=0 or [A]((Y/8)+T+2,(X/8)+S+1)=26 or [A]((Y/8)+T+2,(X/8)+S+1)=10üY
Because of how often these kinds of statements come up, that should save quite a bit, and instead of lables, it mgiht be a good idea to use many subprograms (like Kevin does)...
If áMAP(1)=5:Then
If 5=áMAP(1:Then
If [A]((Y/8)+T,(X/8)+S+1)=58:Then
If 58=[A]((Y/8)+T,(X/8)+S+1
Then
Just stuff like that saces a little
If Y=0 and T=0
If Y=0 and not(T
If [A]((Y/8)+T+2,(X/8)+S+1)=0 or [A]((Y/8)+T+2,(X/8)+S+1)=26 or [A]((Y/8)+T+2,(X/8)+S+1)=10:Y+8üY
Y+*([A]((Y/8)+T+2,(X/8)+S+1)=0 or [A]((Y/8)+T+2,(X/8)+S+1)=26 or [A]((Y/8)+T+2,(X/8)+S+1)=10üY
Because of how often these kinds of statements come up, that should save quite a bit, and instead of lables, it mgiht be a good idea to use many subprograms (like Kevin does)...
Shaun
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
Not a good Idea to use sub programs.
Inless its for a battle system or for the menu if you use flash gordan than it will go slower and slower each time you use it. ![Razz :P](./images/smilies/grayscale_grin.gif)
Whats with all the emoticons??? thanks for the new code I will try to add it today!!![Smile :)](./images/smilies/grayscale_smile.gif)
![No :no:](./images/smilies/grayscale_no.gif)
![Razz :P](./images/smilies/grayscale_grin.gif)
Whats with all the emoticons??? thanks for the new code I will try to add it today!!
![Smile :)](./images/smilies/grayscale_smile.gif)
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
-
- Extreme Poster
- Posts: 322
- Joined: Tue 15 Feb, 2005 12:08 am
- Location: Lost in a land of mysteries.....
LOL You could do it this way.... ![Very Happy :D](./images/smilies/grayscale_happy.gif)
![Very Happy :D](./images/smilies/grayscale_happy.gif)
Code: Select all
If áMAP(1)=5:Then
If 5=áMAP(1:Then
If [A]((Y/8)+T,(X/8)+S+1)=58:Then
If 58=[A]((Y/8)+T,(X/8)+S+1
Then
If Y=0 and T=0
If Y=0 and not(T
If [A]((Y/8)+T+2,(X/8)+S+1)=0 or [A]((Y/8)+T+2,(X/8)+S+1)=26 or [A]((Y/8)+T+2,(X/8)+S+1)=10:Y+8üY
Y+*([A]((Y/8)+T+2,(X/8)+S+1)=0 or [A]((Y/8)+T+2,(X/8)+S+1)=26 or [A]((Y/8)+T+2,(X/8)+S+1)=10üY
Join me at:
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done
http://nanotech.pcriot.com
or
http://emancipal.co.nr
Coming soon..
Rewrite 3D Level Editor - 55% done!!
Emancipal - The Creator 5% done