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

Pages: 1 ... 27 28 [29] 30 31 ... 119
421
TI-Nspire / Re: [C] SpeedX 3D reach your Nspire !
« on: October 06, 2012, 12:08:16 pm »
hmmm, i should try porting this to LuaFX and LuaZM...

422
General Calculator Help / Re: Can calc. gaming permanently crash my calc?
« on: October 06, 2012, 12:03:39 pm »
...
It worked after a few battery removals though (it had me pretty damn nervous).

LOL, I guess something happens like that to all of us. I got that feeling when this happened. Only difference between you and me is mine was actually broken. There should be a thread for posting your terrifying calc experiences.

423
Miscellaneous / Re: Post your desktop
« on: October 01, 2012, 05:51:01 pm »
Here's my custom terminal:


424
Miscellaneous / Re: Post your desktop
« on: October 01, 2012, 01:17:07 pm »
OK, new one. I really like this one:


425
Humour and Jokes / Re: Dsylexics Untie!
« on: September 26, 2012, 10:03:36 am »
H0W G00D 4R3 Y0U 47 R34D1NG 1337?

71H5 M5354G3 15 U1N5G 7H3 5M43 1FN0R74M01N F0RM CM4BR1DG3

426
Casio Calculators / Re: [LuaZM] Pong++
« on: September 19, 2012, 07:35:21 pm »
I imagine it could be ported pretty easily, but as far as being able to run it without modification, no.

But... I wonder if anyone has thought of making a luazm interpretor for TI calcs?

427
Casio Calculators / [LuaZM] Pong++
« on: September 19, 2012, 04:40:13 pm »
I have started a project I am calling pong++. It is based on pong but will have lots of different modes.

So far I have this:

Code: [Select]
print("starting...")

print("defining functions")
--function variables
local drawRectFill = zmg.drawRectFill
local fastCopy = zmg.fastCopy
local makeColor = zmg.makeColor
local drawPoint = zmg.drawPoint
local keyMenuFast = zmg.keyMenuFast
local clear = zmg.clear
local drawText = zmg.drawText
local keyDirectPoll = zmg.keyDirectPoll
local keyDirect = zmg.keyDirect
local floor = math.floor
local random = math.random

print("setting vars")
--screen vars
local LCD_SCREEN_WIDTH = 384
local LCD_SCREEN_HEIGHT = 216

--game variables
local key = {F1=79, F2=69, F3=59, F4=49, F5=39, F6=29, Alpha=77, Exit=47, Optn=68, Up=28, Down=37, Left=38, Right=27}
local color = {makeColor("limegreen"),makeColor("black")}
local ball = {x=20, y=20, width=8, height=8}
local dir = {x=1, y=1}
local speed = {x=2, y=2}
local paddle = {player=40, width=8, height=30, speed=4}
local wall = {width=8}


print("entering game loop")
----game loop----
while keyMenuFast() ~= key.Exit do
----DRAW----
--draw background
drawRectFill(0,0,LCD_SCREEN_WIDTH,LCD_SCREEN_HEIGHT,color[2])

--draw ball
drawRectFill(ball.x, ball.y, ball.width, ball.height, color[1])

--draw player paddle
drawRectFill(0, paddle.player, paddle.width, paddle.height, color[1])

--draw wall
drawRectFill(LCD_SCREEN_WIDTH-wall.width, 0, wall.width, LCD_SCREEN_HEIGHT, color[1])


----CONTROLS----
--control paddle
if keyMenuFast()==key.Up and paddle.player>0 then paddle.player = paddle.player - paddle.speed
elseif keyMenuFast()==key.Down and paddle.player<LCD_SCREEN_HEIGHT - paddle.height then paddle.player = paddle.player + paddle.speed
end


----COLLISIONS----
--check for collisions
if ball.x < 0 + paddle.width and ball.y > paddle.player and ball.y < paddle.player + paddle.height then ball.x = 0 + paddle.width dir.x=1
elseif ball.x < 0 then print("Game Over") break
end

if ball.x>LCD_SCREEN_WIDTH - ball.width - wall.width then ball.x = LCD_SCREEN_WIDTH - ball.width - wall.width dir.x=-1
end

if ball.y<0 then ball.y=0 dir.y=1
elseif ball.y>LCD_SCREEN_HEIGHT - ball.height then ball.y = LCD_SCREEN_HEIGHT - ball.height dir.y=-1
end

----ETC----
--make new vars
ball.x = ball.x + (dir.x * speed.x)
ball.y = ball.y + (dir.y * speed.y)

--refresh screen
fastCopy()

--[[--
--debug
print("ball.y:" .. ball.y)
print("ball.x:" .. ball.x)
--]]--

end
print("exiting.")

As you can see I have a basic pong game set up there. It is totally playable, just paste it into notepad or whatever, save it, and send it to your calc. If you get errors, please post them.



The main reason I am posting this is because I have not come up with many ideas for different modes. The ideas I have come up with are:

* Slug: Make the paddle move very slowly. I will probably make this something that happens in-game as a penalty or whatever, not as an actual game mode.

* Spread: have two player paddles that move away from each other symmetrically from the center.

* Obstacles: Have obstacles in the middle of the screen.

* Multiple balls: self-explanatory, I think. Have more than one ball to keep track of.

Please post your ideas!


If you can give me tips on optimization, by all means do! :)

I think that there may be a faster way of clearing the screen than drawing the background every frame, but I am too lazy right now to figure that out. :P

428
Miscellaneous / Re: Computer Specs
« on: September 05, 2012, 12:40:53 pm »
Got a new system a little while back.

New specs:

Model: Dell Optiplex 745 Mini-tower
OS: Ubuntu 12.04LTS 32-bit
Processor: Intel Duo-Core 1.80Ghz
RAM: 2GB DDR2
Graphics Card: Intel 965


429
Casio PRIZM / Re: [BETA] Bust-A-Move
« on: August 30, 2012, 01:17:22 pm »
how do you change backgrounds?

430
Computer Projects and Ideas / Re: [LD24] Angry Fish
« on: August 29, 2012, 12:57:29 pm »
flyingfisch == ffisch == fischbot


fishbot != Flyingfisch
fischbot == flyingfisch

Or am I wrong again? ???

Correct. ;)

431
Computer Projects and Ideas / Re: [LD24] Angry Fish
« on: August 28, 2012, 01:44:55 pm »
I knew that Fishbot is Flyingfish, but Querty.55 = AngelFish = Fishbot = Flyingfish???  :o

Fishbot != flyinfisch
flyingfisch == ffisch == fischbot

432
Casio Calculators / Re: Change the color of the menus and border
« on: August 26, 2012, 05:24:16 pm »
BTW, I forget what its called now, I think it was something like Draw_Fkey, but it had some interesting option I was never able to figure out. there may be a color select capability there.

433
Casio Calculators / Re: Change the color of the menus and border
« on: August 26, 2012, 10:46:18 am »
so where do you change the color at? what menu?

434
Casio Calculators / Re: Color Doom clone for CFX-9970G/Graph 80
« on: August 23, 2012, 05:56:55 pm »
Oh ok. What would the send function do?

435
Casio Calculators / Re: Color Doom clone for CFX-9970G/Graph 80
« on: August 23, 2012, 09:41:29 am »
FA-124 can convert to .cas, i think

Pages: 1 ... 27 28 [29] 30 31 ... 119