Skip to content
View in the app

A better way to browse. Learn more.

Tip.It Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pixel Characters (1/5)

Featured Replies

Here's a rough job at some pixel characters for a game I'm programming. I'll be updating this as I finish them. (and yes, chances are I actually will finish these, since it's part of a school assignment)

 

 

 

Any advice and/or suggestions would be great!

 

 

 

Dubya Bush

 

char12as.png

 

I wasn't very colour conservative there. :? Hopefully I'll be more careful on my next ones.

 

 

 

Mallory

 

wip..

 

 

 

Sir Edmund Hillary

 

wip..

 

 

 

Becky Scott

 

wip..

 

 

 

Merlin (unlockable)

 

wip..

The real george bush's head is a bit shorter and fatter than that but good shading :) . What kind of game is it going to be and what are you using? i used to dabble in C++ but never got past making a glitchy pong :oops:

  • Author

Thanks for the tips mate! I'm not much of a Bush fan, so I'm not surprised I screwed up his face. :? Ah well, hopefully there's still some "bush" in it.

 

 

 

What kind of game is it going to be and what are you using?

 

It's a simple school assignment using loops in Java.

 

 

 

The riddle:

 

A frog is stuck in a well. It climbs up 3m in the day and slides down 2m while it sleeps. If the well is 20m high, how many days will it take before the frog escapes the well?

 

 

 

It's supposed to be done in Console, and you need to let the user input their own heights and info.

 

 

 

I decided to crack it up a bit by changing the scenario to a mountain climbing game. Each "Team" (like Team Bush) has different skills & bonuses, and each "level" on the mountain has different snow & wind conditions. Custom characters can be made.

 

It uses some flashy GUI and photoshop graphics. I just don't think I'm cut out for console and ascii art :P

dont forget a huge question mark over bushes head.....

That looks very nice, though some details are a bit hard to see, more contrast maybe? or it could be just the white background...

image1ne5.png

Nice!

 

Pretty strong huh? ^.^

 

 

 

~komodo

komododabst3cn.png

"Bush" reminds me more of Clinton then Bush, give him darker hair and more of a grin or blank mouth since rarely do we see him frowning in a public appearence which is where people base their generalizations on him from.

 

 

 

As to the assignment itself are you supposed to just have a loop that can solve that problem and you are adding on to it or does it have to have graphical representations?

 

 

 

Also I would really like to know how to add graphics to a java program any places you would recommend going to (other then google, didn't have much luck kept getting game sites like AddictingGames.com)

 

 

 

and because i need the practice before AP tests, does this look right for the basic problem?

 

 

 

int finalHeight=20, day=0, currentHeight=0;

 

do

 

{

 

if (currentHeight!=0)

 

{

 

currentHeight-=2;

 

}

 

day++;

 

currentHeight+=3;

 

}

 

while (finalHeight>currentHeight);

 

system.out.println("Days taken to climb out of well:" + day);

whoops my post was removed... meh i guess it was a little to offencive :oops: anyway nice head

jfkmk3.jpg

 

New sigzor^^

  • Author
is his hair really that gray though

 

I think you're right, his hair is darker. Thanks!

 

 

 

That looks very nice, though some details are a bit hard to see, more contrast maybe? or it could be just the white background...

 

Yes the background is a bit of a pain right now, hopefully with the rest of the layout it won't be as bad. And I'll see about trying to bump up the contrast a bit. Thanks!

 

 

 

"Bush" reminds me more of Clinton then Bush, give him darker hair and more of a grin or blank mouth since rarely do we see him frowning in a public appearence which is where people base their generalizations on him from.

 

Hah, yea, I didn't mean it to be a frown but now that you mention it I can really see where you're coming from.

 

 

 

As to the assignment itself are you supposed to just have a loop that can solve that problem and you are adding on to it or does it have to have graphical representations?

 

You are supposed to have a program that asks the user for 3 values (height, slide, and total depth) and calculate it from there. You ouput the calculations and such to complete the program. You get bonus marks for thinking of a different riddle and by adding day extensions (like "22nd", "23rd" etc.). He expects it to be done in Console with the coe we've learnt in class (which is barely anything).

 

 

 

I've taken it a step further by using some much more advanced concepts and plenty of GUI. :)

 

 

 

 

 

Also I would really like to know how to add graphics to a java program any places you would recommend going to (other then google, didn't have much luck kept getting game sites like AddictingGames.com)

 

Have you learnt about classes, objects, and methods yet? If so you're already ahead of the game.. and GUI will be much easier to pick up on.

 

If not, it's still not too hard to learn, just takes a lot of practice to get used to.

 

http://leepoint.net/notes-java/index.html

 

http://java.sun.com/docs/books/tutorial ... nents.html (this site is helpful but includes a lot of extra code that can be removed.. I found it difficult to start with)

 

http://java.sun.com/j2se/1.5.0/docs/api/ (learn to read the API, it's probably the most useful link I can show you!)

 

I use Google a lot, just make sure you include the right keywords.

 

If you have any questions on GUI I'd be glad to help. :)

 

 

 

and because i need the practice before AP tests, does this look right for the basic problem?

 

 

 

int finalHeight=20, day=0, currentHeight=0;

 

do

 

{

 

if (currentHeight!=0)

 

{

 

currentHeight-=2;

 

}

 

day++;

 

currentHeight+=3;

 

}

 

while (finalHeight>currentHeight);

 

System.out.println("Days taken to climb out of well:" + day);

 

Looks great. If you want, you can include the "currentHeight-=2" on the same line as your if statement. The brackets are only really needed for multi-line if statements.

 

My version's a little different, and I also have to test for illegal values (e.g. for negatives or when height==slide) since I've got user input. But yours seems to work fine for the values you've got there.

mine was specific to the riddle given, i know there are a couple of spots where you would need to check so you dont hit an inf loop, which is the first thing i would have it do, prob followed by an animation of the character going from happy=>sad=>skin/bones=>skull

 

 

 

I know i didn't need the brackets but since i didnt put it in code tags i couldnt tab it so used the only method i knew to distinguish and still make it legal code.

 

 

 

Yea i allready finished the class so we covered classes, objects, and methods, but i havent really done anything for awhile so thought it would be a nice try.

 

 

 

Any idea where i can pick up a good compiler for java, the one i dled from sun wouldnt finish installing, kept saying something was using the scripts when nothing was running. If nothing else i can always grab the program we used in class since it had a nice organization to it.

 

 

 

EDIT: As soon as i get ahold of the program i'm going to see about adding graphics to my minesweeper program, because the console crap i got going on right now is...weird.

  • Author
Any idea where i can pick up a good compiler for java, the one i dled from sun wouldnt finish installing, kept saying something was using the scripts when nothing was running. If nothing else i can always grab the program we used in class since it had a nice organization to it.

 

 

 

EDIT: As soon as i get ahold of the program i'm going to see about adding graphics to my minesweeper program, because the console crap i got going on right now is...weird.

 

Yea, console is a major pain once you get into more advanced things.

 

 

 

I use JCreator to code & compile in java. I love it. :D

 

http://www.jcreator.com/download.htm

if hes giving a speech he always tends to make his eyes curve oddly...they like hood the outer egdes of his eyes and lift up as it goes farther iinto his head.....

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.