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 - Cram

Pages: 1 2 [3] 4
31
Axe / Re: how to jump?
« on: December 22, 2011, 12:25:52 am »
this is not really a mario clone only a platformer game :P

32
Axe / Re: how to jump?
« on: December 22, 2011, 12:23:21 am »
Code: [Select]
0→r→d→z→j+43→y+27→x
0→w+27→u
15→v
repeat getkey(15)
if pxl-test(u-1,v+7)=1
return
end
sub(MMO)
if getkey(2) and (pxl-test(x,y+7)≠1)
x-1→x
if z=0
2→z
elseif z=2
0→z
end
elseif getkey(3) and (pxl-test(x+7,v+7)≠1)
x+1→x
if z=0
2→z
elseif z=2
0→z
end
end
if getkey(1) and pxl-test(x+5,y+8)
3→z
elseif getkey(4)
0→z
end
if getkey(54) and (pxl-test(x+2,y+8) or pxl-test(x+6,y+8)
15→j
1→z
end
if(j>0)
j-1→j
y-1→y
end
if(pxl-test(x+6,y+8) or pxl-test(x+2,y+8)=o and (j=0)
0→j
0→z
y+1→y
end
if y=49
return
end
pause 25
pt-change (x,y,z*8+pic0p1
dispgraph
pt-change (x,y,z*8+pic0p1
end

lbl mmo
pt-change(u,v,r*8+pic0M1
if u≥27 and w=0
u+1→u
elseif u≤62 and w=1
u-1→u
end
if u=27
0→w
elseif u=62
1→w
end
pt-change(u,v,r*8+pic-M1
return
i think everything is here

33
Axe / Re: how to jump?
« on: December 22, 2011, 12:08:14 am »
ok but i will skip useless thing like graphism :P

34
Axe / Re: how to jump?
« on: December 22, 2011, 12:04:58 am »
can I see a screenie?

and did you try my code, minus a subroutine ^^
yes i tryed it but dont work lol and how can i do a screenie?

35
Axe / Re: how to jump?
« on: December 22, 2011, 12:01:07 am »
are you moving from the right? your are pxl-testing the top left hand corner (one spot to the left) so is your sprite tall enough to hit that? or are you smaller then the monster? try pxl-test(U-1,V+7)
the monster walk left and go across me after that he go right and walk across me again even if i change v by v+7 :S

36
Axe / Re: how to jump?
« on: December 21, 2011, 11:32:39 pm »
thank everyone for your help i understand better now! ;D but i added a monster to kill me and i tryed this code but it dosnt work :(
Code: [Select]
[...]
sub(DIE)
if D
return
end
[...]

Lbl DIE
if pxl-test(u-1,v)=1
1->D
return
when i go close to my monster, he just continu to move across me and nothing happen.. what sould i do or what is the problem? :O

37
Axe / Re: how to jump?
« on: December 21, 2011, 12:56:30 pm »
ah ok and that is my next question, how can i put more collision? :O

38
TI Z80 / Re: Pokemon Topaze (Axe)
« on: December 21, 2011, 12:55:02 pm »
Je sais que je suis un peu en retard mais wow félicitation c'est vraiment un bon jeu ;D je l'ai donné a presque tout le monde dans ma classe mais ils me posent tous la même question, est-ce que tu va le continuer ou s'il est fini? :O

39
Axe / Re: display a picture problem
« on: December 21, 2011, 12:47:25 pm »
ah ok both code is working but your take less places so it will be better thx :P

40
Axe / Re: how to jump?
« on: December 21, 2011, 12:25:12 am »
wow thx a lot i understand how to jump now! :D and i found a little glitch lol one of your line is (0,0,0,64) so if getkey(2) and (X/=0) should be if getkey(2) and (X/=1) :P

41
Axe / Re: display a picture problem
« on: December 20, 2011, 11:23:40 pm »
yeah it work now thx for your fast answer! ;D

42
Axe / display a picture problem
« on: December 20, 2011, 11:16:48 pm »
hi, i simply want to display my picture that i converted to .8xi (named Pic1) but when i tried this:
Code: [Select]
[Pic1]->Pic0MN
Pic0MN->DispGraph
Pause 3600

it dont work, what is the right way?

43
Axe / Re: how to jump?
« on: December 20, 2011, 11:10:37 pm »
yes if you have a more simpler code, can you teach me? ;D

44
Axe / Re: how to jump?
« on: December 20, 2011, 06:41:46 pm »
nice but you forgot a dispgraph and an end in the last code lol but do you know how to jump and to be able to move left and right with arrow?

45
Axe / Re: how to jump?
« on: December 20, 2011, 06:24:11 pm »
wow thx i will check this :) but what is the 56*256? :O

Pages: 1 2 [3] 4