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

Pages: 1 [2] 3 4 ... 10
16
Gaming Discussion / Re: new game by Notch
« on: January 04, 2012, 04:44:17 pm »
I know you know, but you were talking about 12x12 earlier. GREAT!! :D

17
Gaming Discussion / Re: new game by Notch
« on: January 04, 2012, 04:40:18 pm »
Ok, but please do them in 8x8, then it fits neatly on screen.

18
Gaming Discussion / Re: new game by Notch
« on: January 04, 2012, 04:03:08 pm »
No mini competition please, teamwork is better :D
I suggest we do not use "MiniCraft" as the name:
Notch has asked us to not do that.
It will get changed to "MiniTale"
@Hayleia, you don't _have to_ organize :P
THIS POST IS IN MY SIG TOO

Details
Language: Axe
Platform: TI 83+

Things we'll need to do/make
Draw the sprites saintrunner is working on this
A save file format.
A level generator.
A Tilemapper.
Some sort of AI.
Crafting system.

People on it (AFAIK)
annoyingcalc
saintrunner
Hayleia (your avatar is really cool btw)
epic7
Blue Raven
yrinfish

Useful info
For those who are going to work on this
Tiles
Spoiler For Spoiler:
Wheat
Water
Tree
Stone
Stairs
Sapling
Sand
Rock
Ore
Lava
InfiniteFall
Hole
HardRock
Grass
Flower
Farm
Dirt
Cloud
CloudCactus
Cactus

Biomes
Spoiler For Spoiler:
--Sky
Cloud
--Surface
Forest
Meadow
Plains
Cliffs
Mountain
Desert
Ocean
--Underground
Mines
Deep Mines
Nether

Items
Spoiler For Spoiler:
--Tools
Pick
Axe
Hoe
Shovel
--Weapon
Sword
--Utilities
Pow Glove
Workbench
Furnace
Lantern
Anvil
Oven
Chest
--Resources
Apple
Bread
Cloth
Slime
Wood
Seeds
Wheat
Acorn
Cactus
Flower
Cloud
Dirt
Stone
Sand
Coal
Iron Ore
Gold Ore
Gem
Glass
Iron
Gold

19
Gaming Discussion / Re: new game by Notch
« on: January 04, 2012, 03:09:45 pm »
I'm in.

20
Axe / Re: string - duplicate symbol
« on: August 24, 2011, 01:44:31 pm »
Two things, first @DT:
Code: [Select]
:'a'→{Str1}
:'b'→{Str1}
:'c'→{Str1}
to put "abc" in a Str1 that already exists.

That should be:
Code: [Select]
:'a'→{Str1}
:'b'→{Str1+1}
:'c'→{Str1+2}

otherwise the first char would be overwritten with a, then b and finally c...

second, to add only one, do this:
Code: [Select]
:'a'→{Str1+<offset>}

21
TI Z80 / Re: The Happy Parser
« on: August 24, 2011, 04:28:09 am »
Project update: working on return values, so you can have a function that retuns a 8-bit number in A and a different function return a 16-bit number in HL.

BTW: IN C++, so finally a 'real' compiler!

22
Computer Programming / Re: File reading with c/c++
« on: August 18, 2011, 03:42:31 am »
But I need whatever comes after a newline too

23
Computer Programming / Re: File reading with c/c++
« on: August 18, 2011, 03:30:46 am »
and how to copy it in a string?

24
Computer Programming / File reading with c/c++
« on: August 18, 2011, 03:09:10 am »
I want to be able to do this on a file:

Code: [Select]
myChar = getTheNthCharOrSomething(9);
that for example in pseudo-code, getTheNthCharOrSomething() is this:

Code: [Select]
char getTheNthCharOrSomething(where) {
    return file.charAt(where);
}

file is a global var.

25
Computer Projects and Ideas / Re: Designing Happy - OOP
« on: July 27, 2011, 07:33:40 pm »
@Ephan, that would be an awful amount of classes...

@Ashbad, you are great!!! (now please use your old avatar again)

26
TI Z80 / Re: The Happy Parser
« on: July 25, 2011, 05:10:38 am »
@ephan, I will, if somebody can provide me the c++ code for my getChar, and scan routines

(or load the source into an array of char's, who can help me?)

That's what I hate about some programming languages, simple things take so long in the beginning...

BTW, I'm working on it right now (the js version)

27
TI Z80 / Re: (Another) DoodleJump for TI
« on: July 20, 2011, 07:48:23 am »
I know, i've rewritten it twice, but you said you wanted physics?

28
TI Z80 / Re: (Another) DoodleJump for TI
« on: July 20, 2011, 07:24:23 am »
BTW: Physics: keep the x and the y variables, but add an extra variable that holds the speed, every 'tick' of the game you add the speed to the y position and decrement the speed,
When you hit a block at ypos 30, you set the speed to, for example, 6, and then this happens:
(S is speed here)

Y: 30 S: 6
Y: 36 S: 5
Y: 41 S: 4
Y: 45 S: 3
Y: 48 S: 2
Y: 50 S: 1
Y: 51 S: 0
Y: 51 S:-1 w00t I'm flying
Y: 50 S:-2 Oh no
Y: 48 S:-3
And so on

That's How I did it in DionJump, you can have a look at the source at my topic.

29
News / Re: Five new Coders of Tomorrow hired
« on: July 20, 2011, 01:36:41 am »
Congrats!!! And leafiness0's description made me lose THE GAME.
Happy coding!

30
TI Z80 / Re: The Happy Parser
« on: July 19, 2011, 09:29:46 am »
Ok, because noone wanted to answer any question (Don't worry, I'm used to that  <_<) I asked some of them on irc, and I've got a new version:

0.0.5!!!!

And it supports even more than the previous one:
Code: [Select]
{
    if !() {
        while () {
           
        }
    } else if () {
        while !() {
           
        }
    }
}

Yup, still no expression support, or anything else, but I have to start somewhere.
Happy has output too now:
Code: [Select]
;Happy 0.0.5
#include ti83plus.inc
.org $9D93
.db t2ByteTok, tAsmCmp
;[EXPRESSION PLACEHOLDER]
jp nz, lbl1
lbl3:
;[EXPRESSION PLACEHOLDER]
jp z, lbl4
jp lbl3
lbl4:
jp lbl2
lbl1:
;[EXPRESSION PLACEHOLDER]
jp z, lbl5
lbl7:
;[EXPRESSION PLACEHOLDER]
jp nz, lbl8
jp lbl7
lbl8:
lbl5:
lbl2:

Try it at my website

Pages: 1 [2] 3 4 ... 10