Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - jsj795

Pages: 1 ... 13 14 [15] 16 17 ... 76
211
TI Z80 / Re: Tale of the Lost Map
« on: April 16, 2012, 09:51:25 pm »
yes, I guess it's very similar to Mega Man Battle Network battle system, except you would be able to go behind enemy, and it'll just be in 1 line instead of 3

212
TI Z80 / Re: Tale of the Lost Map
« on: April 16, 2012, 09:45:02 pm »
Does anyone know of any example of battle system, where it is turn based, but it involves linear movement?

Sort of like Tales of Phantasia Linear Motion Battle System, but completely turn-based (meaning on your turn you get to move back and forth and can even fly, and attack and use spells/items, and after you make your turn, enemy takes turn to move around and attack), unlike Tales of Phantasia where both you and enemy can move in real time.

I've been looking up on google for possible examples of this battle system and failed. Is it that no one thought of using it this style or is it just not effective in general?

213
TI Z80 / Re: Core Wars
« on: March 29, 2012, 12:15:24 am »
Trying to learn to write RedCode so I can actually play this :P There's a lot to cover :O

214
TI Z80 / Re: ASCII World
« on: February 19, 2012, 04:04:05 am »

Code: [Select]
::"TOWN CODE
:Lbl T1
:0→∟ADATA(80
:"XXXXXXXXXXXXXXXXX  [OOO]        X [OOOOO]       X  11I11        X  11M11     000X    0       0  X    0       0  X    000000000  →Str1
:" 0M→Str2
:Output(1,1,Str1
:prgmθWALK
:If U=16 and θ=26:Then:1→U:Goto T2:End
:If V=8 and θ=34:Then:1→V:Goto T3:End
:If U=6 and V=5:Then:7→V:8→U:Goto I1:End
:Goto T1

Code: [Select]
::"WALKING ENGINE
:3→Z:prgmθTRT
:Output(V,U,Ans
:DelVar θRepeat θ:getKey→θ:End
:16V-16+U+16(θ=34 and V≠8)-16(θ=25 and V≠1)+(θ=26 and U≠16)-(θ=24 and U≠1→T
:DelVar B
:sub(Str1,T,1
:If Ans=sub(Str2,1,1) or Ans=sub(Str2,2,1) or Ans=sub(Str2,3,1
:Then
:U+(θ=26 and U≠16)-(θ=24 and U≠1→U
:V+(θ=34 and V≠8)-(θ=25 and V≠1→V
:End
:If θ=31:prgmθMENU
:If θ=45:Then:U→∟ADATA(78:V→∟ADATA(79:ClrHome:AxesOn:FnOn :ZStandard:Stop:End

Code: [Select]
::" PART OF PRGM TRT
:If Z=3:Then
:"iθπ
:sub(Ans,∟ADATA(5)+1,1
:End


These are my main loop / walking code.
Can you see any way to make this faster?


First of all, be careful of the Goto within the If:Then:End block, cuz it might cause the memory leak.
Also, after one key-press, it seems to go through the map initialization again in the main loop although there's no need for it.

Try this:


::"TOWN CODE
:Lbl T1
:DelVar E /This is for the event. You can choose whatever variable/
:0→∟ADATA(80
:"XXXXXXXXXXXXXXXXX  [OOO]        X [OOOOO]       X  11I11        X  11M11     000X    0       0  X    0       0  X    000000000  →Str1
:" 0M→Str2
:Output(1,1,Str1
:prgmθWALK
:If U=16 and θ=26:Then:1→U:Goto T2:End
:If V=8 and θ=34:Then:1→V:Goto T3:End
:If U=6 and V=5:Then:7→V:8→U:Goto I1:End

:If E=1:Goto T2
:If E=2:Goto T3
:If E=3:Goto I1

:Goto T1


::"WALKING ENGINE
:Repeat E or max(θ={31, 45
:3→Z:prgmθTRT
:Output(V,U,Ans
:DelVar θRepeat Ans:getKey→θ:End
:16V-16+U+16(θ=34 and V≠8)-16(θ=25 and V≠1)+(θ=26 and U≠16)-(θ=24 and U≠1→T
:DelVar B
:sub(Str1,T,1
:If Ans=sub(Str2,1,1) or Ans=sub(Str2,2,1) or Ans=sub(Str2,3,1
:Then
:min(16,max(1,U+(θ=26)-(θ=24→U
:min(8,max(1,V+(θ=34)-(θ=25→V

:End
:If U=16 and θ=26:1→E
:If V=8 and θ=34:2→E
:If U=6 and V=5:3→E
:End

:If θ=31:prgmθMENU
:If θ=45:Then:U→∟ADATA(78:V→∟ADATA(79:ClrHome:AxesOn:FnOn :ZStandard:Stop:End


215
TI-BASIC / Re: BASIC movement
« on: February 18, 2012, 09:43:44 pm »
be careful with making string-based map, because as the string gets longer, the more "bottom" you're in a map, the slower it gets since BASIC checks from the beginning of the string to the end of the string for the sub( routine

216
Humour and Jokes / Re: Best Rickroll ever
« on: February 10, 2012, 07:33:52 am »
I'm pretty sure it was intentional lol, some of the grammar structures seem "forced" to contain the rickroll words in them :P

217
Humour and Jokes / Best Rickroll ever
« on: February 10, 2012, 07:11:51 am »
Thought I would share this here, it's been running around on facebook lol

Edit: Just noticed it's from 9gag

218
Other / Re: $820 in 3d softwares for free!
« on: February 04, 2012, 03:20:32 pm »
wow thanks a lot! just got my serial number

Edit: seems like it's free until Feb. 29th

219
TI Z80 / Re: Tale of the Lost Map
« on: February 01, 2012, 01:52:59 pm »
phew! I think I got the basics down on getting the monster AI work. Although a lot simplified than what I had originally planned, I think it will be decent enough. Now I just gotta code the pseudocode on calc, and hope it's good. If it does work, screen shot will be coming up soon :)

220
Other / Re: Knex Ball Machine Catastropha
« on: January 31, 2012, 11:35:14 am »
18,894 pieces

221
TI Z80 / Re: the beginnings of an RPG Shooter
« on: January 31, 2012, 09:52:00 am »
I like ruin for some reason. and you can add in some sort of tiny storyline by having a setting at the ruin for final boss or something :P

222
Computer Programming / Re: C++ Error help
« on: January 28, 2012, 06:10:23 pm »
does not having <cstdlib> and <time.h> headings matter?
cuz I downloaded source code and it only had iostream header, and at least for my IDE (Code::Blocks) srand() and time() functions need cstdlib and time.h headings

223
TI Z80 / Re: FLAK - an anti-aircraft shooting game
« on: January 28, 2012, 07:00:35 am »
here's the screenshot :)

224
TI Z80 / Re: FLAK - an anti-aircraft shooting game
« on: January 28, 2012, 06:52:11 am »
wow it's pretty fun :D nice job!! is this the final product or are there still some stuff you want to improve?

and if you want, I can make an animated screenshot for you

225
Miscellaneous / Re: [Job] Want an Android app idea come to life...?
« on: January 27, 2012, 05:48:54 pm »
Well, that's interesting. What do you use for creating such applications? Also you might want to help with current Android projects we have on Omnimaga.

help porting wabbitemu!

Pages: 1 ... 13 14 [15] 16 17 ... 76