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

Pages: 1 ... 331 332 [333] 334 335 ... 424
4981
Web Programming and Design / Re: [code] CSS
« on: December 05, 2010, 09:42:53 am »
With long lines of text, it stretches outside the screen and the topic gets impossible to browse. I believe someone tried to help me fix it a while ago, but it didn't work...

On SMF I saw some code that might fix it but I didn't have time to do it. I'll need to check again later.

Hum... So has anyone got other code CSS?

4982
Axe / Mouse
« on: December 04, 2010, 07:23:56 pm »
In a thingie I'm making, I need a mouse feature.

I'm using Qwerty55's code (thanks!):

Code: [Select]
:.This is the sprite
:[80C0A09088D0A818]→Pic1
:While 1
:.Store the screen to the back buffer
:StorePic
:.Display Sprite
:Pt-On(X,Y,Pic1
:DispGraph
:.Erase Sprite
:Pt-Change(X,Y,Pic1
:.Replace the part of the image erased by the Sprite
:RecallPic
:.I used conditionals because the boundary conditions are important
:.Replace with X+getKey(3)-getKey(2)→X if they aren't important.
:If getKey(3) and (X<92)
:X+1→X
:End
:If getKey(55) and (X<72)
:Pt-On(X,Y,Pic1+8
:End
:If getKey(2) and (X>2)
:X-1→X
:End
:If getKey(1) and (Y<60)
:Y+1→Y
:End
:If getKey(4) and (Y>2)
:Y-1→Y
:End
:End

Code: [Select]
.MOUSE
[101010FE10101000]->Pic1
While 1
.Store the screen to the back buffer
StorePic
.Display Sprite
Pt-On(X,Y,Pic1
DispGraph
.Erase Sprite
Pt-Change(X,Y,Pic1
.Replace the part of the image erased by the Sprite
RecallPic
.I used conditionals because the boundary conditions are important
.Replace with X+getKey(3)-getKey(2)->X if they aren't important.
Repeat getKey->Z
End
If Z=15
Goto 9
Else
If getKey(3) and (X<92)
X+1->X
End
If getKey(55) and (X<72)
Pt-On(X,Y,Pic1+8
End
If getKey(2) and (X>2)
X-1->X
End
If getKey(1) and (Y<60)
Y+1->Y
End
If getKey(4) and (Y>2)
Y-1->Y
End
End
End
Lbl 9

The one which is below was edited by me and is really really really slow. The above one is perfect and works really fine!

Any idea why? I know why (Else and GetKey) but how to fix? THX!

4983
TI Z80 / Re: Powder Game
« on: December 04, 2010, 07:16:27 pm »
Ah i see, well the best way i would do that is just make it so that in your mouse sprite, the point of the mouse is at the center of the sprite.  That way when you switch to the cross, you don't have to mess with any offsets

I need to make a thread concerning Mouse stuff.

4984
TI Z80 / Re: Powder Game
« on: December 04, 2010, 07:13:22 pm »
What do you mean by the point of the sprite?

In Doors's sprite the point that selects things is the upper left one, in a cross, it would be the center :S

4985
TI Z80 / Re: Powder Game
« on: December 04, 2010, 07:11:49 pm »
You could use a cursor of my own design which is small, minimalistic, but i think it looks very sleek ^^

I'm gonna do a cross with a center for precision. How do I change the point of the sprite that hits things?

4986
BatLib / Re: SpriteLib
« on: December 04, 2010, 07:03:34 pm »
Only a later version of SpriteLib (complete stable one)
You seem to think that SpriteLib isn't stable because it's programed in hex.  From what I've seen, Xeda is very good at programming in hex and I have not encountered any crashes due to SpriteLib. :)

No, it's not that. But Xeda, I think wants to add LOTS OF STUFF to SpriteLib (i hope he does) and if kerm made it work now, it would be outdated in a week. Get it?

I love HEX and understand the importance of HEX :P

4987
TI Z80 / Re: Powder Game
« on: December 04, 2010, 07:01:44 pm »
What's the game?


Surprise stuff, it uses a mouse, though. I'll change the sprite since it is really not a hand :S

4988
TI Z80 / Re: Powder Game
« on: December 04, 2010, 06:53:46 pm »
You can if you want. I don't really mind either way.

Then, that will depend on how important that is for the game :S

4989
tiDE / Re: tiDE Team
« on: December 04, 2010, 06:51:20 pm »
I could join the time when I'll get less busy, next week or so.

Great, a new member

4990
tiDE / Re: tiDE Feature Requests
« on: December 04, 2010, 06:51:11 pm »
I guess it depends if you know what is the equivalent of an hex code in ASM form. The program structure is most likely similar, but you have no comment. It must be hard to read when a program is large...

I <3 HEX.

It's cool, Asm on calc!

4991
OmnomIRC Development / Re: OmnomIRC
« on: December 04, 2010, 06:48:42 pm »
Quote
Please just make a new post!



EDIT: DAMN!

4992
Humour and Jokes / Re: my number of posts error
« on: December 04, 2010, 06:35:53 pm »
DJ, I don't wanna post! Nah!

NETHAM! FIX OMNOM OMNOMS NOW!

bwahhhhh (child cry heheh)

4993
Humour and Jokes / my number of posts error
« on: December 04, 2010, 06:29:45 pm »
I need to post this in randomness so that my no. of posts isn't changed, but I can't use the IRC!!!

Code: [Select]
You need 20 more posts to chat from here. You currently have 0 posts.
A bug or is it supposed to be that way?

4994
tiDE / Re: tiDE Team
« on: December 04, 2010, 06:18:57 pm »
I responded... and I'm sorry I have been not very active on these forums for some time, but I just am a little bit busy right now...

Now we're chatting about C# and my work.

4995
TI Z80 / Re: Powder Game
« on: December 04, 2010, 06:16:54 pm »
Sure, you can have it. Here's the monochrome code:

Code: [Select]
:.This is the sprite
:[80C0A09088D0A818]→Pic1
:While 1
:.Store the screen to the back buffer
:StorePic
:.Display Sprite
:Pt-On(X,Y,Pic1
:DispGraph
:.Erase Sprite
:Pt-Change(X,Y,Pic1
:.Replace the part of the image erased by the Sprite
:RecallPic
:.I used conditionals because the boundary conditions are important
:.Replace with X+getKey(3)-getKey(2)→X if they aren't important.
:If getKey(3) and (X<92)
:X+1→X
:End
:If getKey(55) and (X<72)
:Pt-On(X,Y,Pic1+8
:End
:If getKey(2) and (X>2)
:X-1→X
:End
:If getKey(1) and (Y<60)
:Y+1→Y
:End
:If getKey(4) and (Y>2)
:Y-1→Y
:End

Want me to credit you?

Pages: 1 ... 331 332 [333] 334 335 ... 424