PDA

View Full Version : ZScript: Nibbles 1.0b - Updated 03/05/03



Muvlo
03-03-03, 05:25 PM
A new breed of ZGame: Keyboard input!

http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_image-1046913408xdp.gif

Nibbles 1.0

Nibbles is a game most of you will have played before. You navigate a worm around different levels trying to collect energy while avoiding a collision with walls or with yourself. As you collect energy, your tail grows, making it harder for you to avoid running into it. To get to the next level, you need to eat ten pieces of food. The number of levels depends on what "world" you are playing.
When loading a world, open the file with no number after it. (A ten-level world is included in Nibbles 1.0 called Nibbles World One.)

Download here: Nibbles 1.0 (http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_file-1046740954tgs.zip)

To run, unzip the download and load Nibbles.ZSC.

Enjoy! :)

Also: I will be uploading a level editor soon.

:b3: EDIT - 03/05/03 - Version 1.0b

Download here: Nibbles 1.0b (http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_file-1046913509fdv.zip)

Unzip the two files to the same directory you installed Nibbles 1.0 in. (You need to download the first file before downloading this update.)

In this update:
:b2: Help button in the Settings panel
:b2: Fixes the no food bug that LWTB noticed
:b2: Added Digit's suggestion of an auto load

Source:
Nibbles 1.0b Source (http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_file-1046913740yqi.txt)

LWTB
03-03-03, 05:38 PM
o boy imma try this out lickety split!
I love playing that game on cell phones.

Thanks a lot for making this :tu: :D


edit: Whoa!
:b3: :b3: :b3: must get :b2:

this is really fun. awesome job!
PS: if u cant figure out how to set the controls.(maybe it was just me)..go to settings then hit a keyboard button and click which direction u want it to be.

Digits
03-03-03, 07:39 PM
Wow, Muvlo

I wanted to try it but it keeps telling me the world file I have selected to load is invalid. I tried various ones you had in the world folder to no avail

Looks cool!

Muvlo
03-03-03, 07:53 PM
Thanks for trying it LWTB. :) Good clarification on the Settings script, which I forgot to provide instructions for. ;)

Digits: The file to open is WorldOne.ZVR. (The script then loads level WorldOne1.ZVR, WorldOne2.ZVR, and so on.) Hope it works! :)

Digits
03-03-03, 08:29 PM
argh!!! you are evil Muvlo. I got it running, the other world files in there must be levels, but now I have no hair!

I think I am getting too old my fingers don't twitch like they use to, but clever use of zscripts my friend, I bet Pixolator never thought it could be put to use in this way.

a suggestion, is there a way to restart the level without reloading the script and having to load up the world file again? I ask because the open file always opens up in the zbrush root directory and then I have to navigate thru scripts/muvlo/nibbles/worlds/nibblesworldone to start the game again even thou I only lasted a few seconds !!! :)

Frenchy Pilou
03-04-03, 12:21 AM
Hi muvlo
Great !
Pac Man Next :D
It's an eternal starting again :)
Pilou

cameyo
03-04-03, 01:57 AM
MUVLO :tu: :tu: :tu: :tu:
Wonderful script ....
Now i go to study it ...
Thank You

Pilou: the next MUST be "Space Invaders" ;)

cameyo

Frenchy Pilou
03-04-03, 02:02 AM
Hi Cameyo
You right I forgotten this one :)
Pilou

LWTB
03-04-03, 03:13 AM
ive played it a bunch of times now...addicting :D

i've only had one problem and it only happened once. on the first level of world one like no "food" spawned for energy level 10 so i couldnt advance...maybe it just spawned under my "tail" and disappeared...i dunno, but i had to restart it. no big deal tho :)

Great game tho..i really mean it, nice job :tu: :tu: :tu:

Muvlo
03-04-03, 03:40 PM
Sorry about the hair, Digits. However, I will add what you suggested. :)

Glad you are all enjoying it. :)

I have noticed the same bug you've noticed, LWTB, I'll fix that in the next update.

And I'll add those two games to the list, Cameyo and Frenchy! Tetris looks like it might be the next one though. ;)

And finally, here is the Nibbles 1.0 source code:

Nibbles Source (http://www2.zbrushcentral.com/uploaded_from_zbc/200303/user_file-1046821211pmv.txt) [EDIT: Now old, see first post]

(Sorry about the lack of comments in the script.)

Muvlo
03-05-03, 06:38 PM
Just bumping the thread to announce Nibbles 1.0b. See the first post.

Digits
03-05-03, 09:07 PM
Thanks! maybeperhaps I can win this one, I am stubborn enough :)

juandel
03-05-03, 10:41 PM
making me even un-happier than i was until today, that theres no zbrush installed on my office-pc :D - muchas gracias, Muvlo!

- juandel

LWTB
03-06-03, 11:51 AM
oh boy :D

great update muvlo!
again, nice work :tu:

o and btw, great job fixing the no food bug. havent encountered it at all :)
Cant wait for more worlds hehe

:)

drjjwow
03-07-03, 12:40 PM
games in zbrush.. wow this is awesome muvlo.. thanks