Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
1 2 3 4 5 6 7 8 9 10 11 12 1315
次のページ(過去)
返信[3]
親投稿
Stewart segludian1
And the Mandelbrot set. The color edges were all jagged before. Needed to check A^2 + B^2 > max instead of ABS(A+B) > max.
1そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian1
Finally fixing my Mandlebrot and Julia code. No more jagged edges.
1そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian1
And here is the code. Don't expect much. Game ends when you miss more than 5 fish.
1そうだね
プレイ済み
プレイ日記
Stewart segludian1
Wack--Fish, my one screen program entry. Key: KWEZE33
3そうだね
プレイ済み
返信[18]
親投稿
Stewart segludian1
So in summary you need the functions create_shovel, and update_shovel. The main game loop should call CALL SPRITE every frame. Then just call CREATE_SHOVEL whenever you want to make a new one.
0そうだね
プレイ済み
返信[17]
親投稿
Stewart segludian1
CREATE_SHOVEL just creates a new shovel sprite. I return the shovel's id/handle if successful and -1 if we ran out of sprites. Note the SPFUNC call. That says what function you want called. The desired function can't take parameters or return values. If you want to create new shovels without the hero sprite you just need to duplicate line 72's CREATE_SHOVEL call in the hero's update function.
0そうだね
プレイ済み
返信[16]
親投稿
Stewart segludian1
When you call CALL SPRITE, in the main loop, it will call UPDATE_SHOVEL for every shovel sprite. UPDATE_SHOVEL is where you put the code to move or delete (SPCLR) your shovel. Note, CALLIDX is your sprite's id/handle here. I use SPVAR to save and load each shovel's unique state information.
0そうだね
プレイ済み
返信[15]
親投稿
Stewart segludian1
Ok, so a good part of how this works is SPFUNC. Using that, you can make sprites move themself around. Also you have to put in CALL SPRITE in the game loop. If you look at the code, lines 13 to 20 is the game loop and line 17 says CALL SPRITE. This is the code where you update the game once per frame. Next we have a pair of functions CREATE_SHOVEL (lines 38-56), and UPDATE_SHOVEL (lines 77-92).
0そうだね
プレイ済み
返信[13]
親投稿
Stewart segludian1
Is that the Throw Shovel one? SECXE2KE
0そうだね
プレイ済み
返信[5]
親投稿
Stewart segludian1
My number guessing example code sounds like what you are looking for. You can download it by entering the key: 8E7Y33G4 Please give it a download, run, and read and let me know if you have questions.
1そうだね
プレイ済み
返信[1]
親投稿
Stewart segludian1
Very cool, and I like the fractal tree.
1そうだね
プレイ済み
プレイ日記
Stewart segludian1
Here is some Purple Rain from the Coding Train youtube videos to go along with the Matrix rain from the other day. It looks better in motion.
7そうだね
プレイ済み
返信[20]
親投稿
Stewart segludian1
Even with a framework there is lots of coding to do, and web developers code in several languages in concert. It isn't easy street. Anyway salary levels will vary wildly depending on where you live. Costal California and New York City pay a lot more, but cost more to live there. I would expect an entry level programmer to make between $30-50k. But your state employment website has better numbers.
3そうだね
プレイ済み
返信[2]
親投稿
Stewart segludian1
I can recommend the Sega 3D classics collection, 3D classics Kirby, Super C, and any virtual console Zelda or Mario.
0そうだね
プレイ済み
返信[4]
親投稿
Stewart segludian1
Very nice, I like it!
0そうだね
プレイ済み
返信[15]
親投稿
Stewart segludian1
Banks, Marketing firms, Insurance, the State. Lots of places need programmers. Try going to a job site and search around. You should be able to see what technology is in demand in your area.
1そうだね
プレイ済み
返信[8]
親投稿
Stewart segludian1
Another slower but probably better blur attempt.
2そうだね
プレイ済み
返信[12]
親投稿
Stewart segludian1
That being said. I think you should try Python next. You can use Pygame or Pyglet to make games. It is best to learn a variety of languages.
0そうだね
プレイ済み
返信[11]
親投稿
Stewart segludian1
Instead of coding games, I am going suggest you concentrate on languages you can find a job with. In my opinion you should first aim for web developer. That seems to be where most of the jobs are. So I recommend. JavaScript, C#, SQL, and ASP.Net. Game developers are treated horribly. Just look up the EA spouse letter. If you want app development Objective C/Swift for iphone and Java for Android.
1そうだね
プレイ済み
返信[7]
親投稿
Stewart segludian1
Tried it with pixel processing. Somewhat works but it is several seconds per frame.
1そうだね
プレイ済み