Author Topic: Me and edman are making a game ! -Need a few coders experienced in java  (Read 4993 times)

Ok, you need some tutorials pretty badly. You can't use animated gif images.

To make looping animations you can update add on to a variable every update pass, and change the animated image every 20-30 updates.

I made a gif to make sure it loops as an animation correctly. Edman already knows how to make animations

He's referencing a gif image, which I would assume is the problem with it not showing up.

Can you just post a picture of the game, and whatever errors come up that you are having trouble with?

so if I was to make a character or something for you or whatever, is there a template size or something?

so if I was to make a character or something for you or whatever, is there a template size or something?

16x16


What's the theme of this game?

A mix between futuristic and medieval. The fighter would use swords as the ball uses magic and the turret uses automatic railguns

so go crazy lol

This is love2d code, but it should help with the logic & math part.
Code: [Select]
-- Tutorial 1: Hamster Ball
-- Add an image to the game and move it around using
-- the arrow keys.
-- compatible with löve 0.6.0 and up

function love.load()
   hamster = love.graphics.newImage("hamster.png")
   x = 50
   y = 50
   speed = 100
end

function love.update(dt)
   if love.keyboard.isDown("right") then
      x = x + (speed * dt)
   elseif love.keyboard.isDown("left") then
      x = x - (speed * dt)
   end

   if love.keyboard.isDown("down") then
      y = y + (speed * dt)
   elseif love.keyboard.isDown("up") then
      y = y - (speed * dt)
   end
end

function love.draw()
   love.graphics.draw(hamster, x, y)
end

That is basic code on how to move an image around with the WASD keys.


This is love2d code, but it should help with the logic & math part.
Code: [Select]
-- Tutorial 1: Hamster Ball
-- Add an image to the game and move it around using
-- the arrow keys.
-- compatible with löve 0.6.0 and up

function love.load()
   hamster = love.graphics.newImage("hamster.png")
   x = 50
   y = 50
   speed = 100
end

function love.update(dt)
   if love.keyboard.isDown("right") then
      x = x + (speed * dt)
   elseif love.keyboard.isDown("left") then
      x = x - (speed * dt)
   end

   if love.keyboard.isDown("down") then
      y = y + (speed * dt)
   elseif love.keyboard.isDown("up") then
      y = y - (speed * dt)
   end
end

function love.draw()
   love.graphics.draw(hamster, x, y)
end

That is basic code on how to move an image around with the WASD keys.

Extrude, do you have skype?

Can this weapon be in game?


Nope. I have Steam though.

So something like this would work, right?

Can this weapon be in game?



I'm already covering weapons.


So something like this would work, right?

Sorry, but no. Try using shading, and have a little more detail in the limbs.

I'm already covering weapons.

Are you sure you don't need something wink wink.