CodeWalrus

Featured Member Projects => Walrii Games (TI/HP/PC/2600) => Topic started by: c4ooo on February 13, 2016, 08:55:04 PM

Title: [java][OpenGL] Walrii PC game
Post by: c4ooo on February 13, 2016, 08:55:04 PM
An alpha PC game i am writing in java. My current plan is to port The Day The Walrus Flew (aka flappy walrus) to PC. The original calculator will be available to play in a ti84 simulator. Cumred is being a big help with the openGL stuff  8)
Screenies:
(http://imgur.com/IzQATBf.png)
here is the screen of the working ti84 "simulator":
(http://imgur.com/InH12e2.png)
Title: Re: [java][OpenGL] Warii PC game
Post by: SiphonicSugar on February 13, 2016, 08:58:39 PM
Wait, does this just simulate the game on a simulated TI-84 Plus, because that's really cool.
Title: Re: [java][OpenGL] Warii PC game
Post by: c4ooo on February 13, 2016, 09:02:36 PM
Quote from: SiphonicSugar on February 13, 2016, 08:58:39 PM
Wait, does this just simulate the game on a simulated TI-84 Plus, because that's really cool.
The calc is "simulated". It does not include any roms, and thus i cant get sued x.x . So basicly TIOS and all the math stuff won't actually be available :P
But it could be an easter egg ;)
Title: Re: [java][OpenGL] Warii PC game
Post by: Dudeman313 on February 13, 2016, 09:04:21 PM
It looks pretty cool! :walrii:
Title: Re: Warii PC game
Post by: Dream of Omnimaga on February 14, 2016, 06:13:26 PM
Looks nice, but the bright blue background might be a bit distracting. Also what will the secomd game be?
Title: Re: [java][OpenGL] Warii PC game
Post by: Araidia on February 14, 2016, 10:36:14 PM
Nice idea!
But I think the title(of the topic) might be misspelled   ;D
Title: Re: Warii PC game
Post by: Dream of Omnimaga on February 14, 2016, 11:23:51 PM
Wow I just noticed that. Bad c4ooo :P
Title: Re: [java][OpenGL] Warii PC game
Post by: Dudeman313 on February 14, 2016, 11:42:04 PM
Oh. :warii: is not :walrii: :P
Title: Re: [java][OpenGL] Warii PC game
Post by: c4ooo on February 15, 2016, 01:58:14 AM
Quote from: DJ Omnimaga on February 14, 2016, 06:13:26 PM
Looks nice, but the bright blue background might be a bit distracting. Also what will the secomd game be?
Hmm... Should i make walrii fly around on the other blue background too? Or maybe i could have an image of a table, but IDK if i could make a good transition from the title screen background to an image of a table >.>

Quote from: DJ Omnimaga on February 14, 2016, 11:23:51 PM
Wow I just noticed that. Bad c4ooo :P
Quote from: Dudeman313 on February 14, 2016, 11:42:04 PM
Oh. :warii: is not :walrii: :P
Quote from: Araidia on February 14, 2016, 10:36:14 PM
Nice idea!
But I think the title(of the topic) might be misspelled   ;D
IDK what you are talking about :trollface:
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on February 15, 2016, 02:30:40 AM
Maybe you could do a background of a classic desk, then use a fade transition.
And does the title screen have to be that shade? You could lighten it up, maybe rearrange the entire thing... You know what? I'll just make you a title screen and see if you like it. It seems like one of the Floating Walrii is blending in to the background color, which for some strange reason is hurting my brain. Maybe I have OCD.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on February 15, 2016, 04:48:33 AM
Quote from: c4ooo on February 15, 2016, 01:58:14 AM
Quote from: DJ Omnimaga on February 14, 2016, 06:13:26 PM
Looks nice, but the bright blue background might be a bit distracting. Also what will the secomd game be?
Hmm... Should i make walrii fly around on the other blue background too? Or maybe i could have an image of a table, but IDK if i could make a good transition from the title screen background to an image of a table >.>

Quote from: DJ Omnimaga on February 14, 2016, 11:23:51 PM
Wow I just noticed that. Bad c4ooo :P
Quote from: Dudeman313 on February 14, 2016, 11:42:04 PM
Oh. :warii: is not :walrii: :P
Quote from: Araidia on February 14, 2016, 10:36:14 PM
Nice idea!
But I think the title(of the topic) might be misspelled   ;D
IDK what you are talking about :trollface:
I was thinking more about a blue background but with less saturation, or perhaps a blue-gray gradient with a darker shade at the bottom. You could maybe make the winged walruses fly in the background like when we type /walrii on WalrusIRC.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on February 20, 2016, 08:12:26 PM
Or you could make the background white and light green, like this site. Personally, I think the CodeWalrus site theme looks professional, welcoming, friendly, and modern without looking thrown together at all. :walrii:
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 03, 2016, 06:20:34 AM
Well, to be fair, it was  a little thrown together coding-wise, because when we decided to make the site we wanted to make it public by New Year 2015 and that left us less than 2 months when we installed SMF. A lot of the theme coding was rushed and hacked together from the default them. >.< (we didn't care, though, because when we upgrade to SMF 2.1 we're gonna have to redo it from scratch anyway)

I agree, though, that c4ooo should maybe theme his game more after CW and perhaps Super Walrii Land. I cannot post sprites, though, because they are all dynamically generated by code.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 03, 2016, 10:23:48 PM
Quote from: DJ Omnimaga on March 03, 2016, 06:20:34 AM
Well, to be fair, it was  a little thrown together coding-wise, because when we decided to make the site we wanted to make it public by New Year 2015 and that left us less than 2 months when we installed SMF. A lot of the theme coding was rushed and hacked together from the default them. >.< (we didn't care, though, because when we upgrade to SMF 2.1 we're gonna have to redo it from scratch anyway)

I agree, though, that c4ooo should maybe theme his game more after CW and perhaps Super Walrii Land. I cannot post sprites, though, because they are all dynamically generated by code.
Oh.

Now if only @c4ooo would come and see our suggestions, and put in power-ups that turn you into different :walrii: clones and hopefully decide
it's possible to find time to finish...
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 03, 2016, 11:04:28 PM
Could you guys maybe post some mockups? One thing i could do is replace the blue background with the green tiled background.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 07, 2016, 06:10:45 AM
Do you mean mockups of the graphics I mentioned?
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 08, 2016, 02:58:00 AM
Quote from: DJ Omnimaga on March 07, 2016, 06:10:45 AM
Do you mean mockups of the graphics I mentioned?
Mockups of what to replace the blue background with, and maybe a new title screen.

I need to port the core mechanics, should not take long to get a playable port :)
Right now i just dont have the time x.x
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 08, 2016, 04:42:38 AM
Oh ok. I don't have much ideas for the title screen. A blue gradient would make the game look like a Windows 98 installer <_<.

Here are the graphics I meant, by the way (I don't have code for them right now, but most were made so they could be generated from line, rectangle and such commands, using colors defined in the level data):

(http://img.ourl.ca/cavernbackgrounds-1.png)
(https://img.ourl.ca/generationcomplete.png)
(https://img.ourl.ca/walrii2.gif)

Also the block sprites in the large pic (the ! block, the star, arrows, rocks and spikes) are not dynamically generated.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 08, 2016, 04:48:04 AM
That last one is something I'd want to see on my CE...
Also, I might be able to design a title screen or 2, given the time. It also depends on how the end game will look, so if you want me to design a fancy title screen, you're gonna have to finish the game first. Like a book; you want it written before you choose the coverpage.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 17, 2016, 08:23:06 AM
Well, the last one was pretty much remade into Wal-Rush, but the graphics above were originally intended to be for an HP Prime platformer I never worked on much. As for the title it really depends indeed. Sometimes, it doesn't need the game to be completed, like First Fantasy, since it only needs text, but there are games where we can't make the title screen until we are 100% sure of the final theme.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 17, 2016, 10:54:11 AM
Like deciding the title of book chapters. It takes forever.
But that platformer would have looked nice if you had finished it.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 17, 2016, 06:17:35 PM
Oh true, book chapters and even game chapters can take a while to be decided. That reminds me, I forgot if Illusiat 12 had chapter titles (it was the only game in the series that showed Chapter <number> when switching chapters.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 17, 2016, 10:35:19 PM
True, but back to the topic- @c4ooo , are you going to get back to this soon?s
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 17, 2016, 10:45:19 PM
Quote from: Dudeman313 on March 17, 2016, 10:35:19 PM
True, but back to the topic- @c4ooo , are you going to get back to this soon?s
Yes, i have it almost ready for release, but some stuff came up, so this might have to wait a week or two >_>
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 18, 2016, 04:54:07 PM
Soryy for double post. I released a very alpha version that is still missing some things.
Can someone try and test out the .exe  to make sure they it work?
(Windows ONLY) (linux and mac soon)
https://drive.google.com/file/d/0B4B_lqaVH02oR1d4NUNYX0NDanM/view
Title: Re: [java][OpenGL] Walrii PC game
Post by: alberthrocks on March 18, 2016, 05:34:34 PM
Quote from: c4ooo on March 18, 2016, 04:54:07 PM
Soryy for double post. I released a very alpha version that is still missing some things.
Can someone try and test out the .exe  to make sure they it work?
(Windows ONLY) (linux and mac soon)
https://drive.google.com/file/d/0B4B_lqaVH02oR1d4NUNYX0NDanM/view
Didn't realize this requires the JRE! Something that you might wanna use to make it portable and not require the JRE:

https://github.com/libgdx/packr

It's cross platform, so it should do the trick for every platform you want to support!
(Just make sure to download the OpenJDK builds for all platforms you want to support.)
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 18, 2016, 08:05:18 PM
Quote from: alberthrocks on March 18, 2016, 05:34:34 PM
Quote from: c4ooo on March 18, 2016, 04:54:07 PM
Soryy for double post. I released a very alpha version that is still missing some things.
Can someone try and test out the .exe  to make sure they it work?
(Windows ONLY) (linux and mac soon)
https://drive.google.com/file/d/0B4B_lqaVH02oR1d4NUNYX0NDanM/view
Didn't realize this requires the JRE! Something that you might wanna use to make it portable and not require the JRE:

https://github.com/libgdx/packr

It's cross platform, so it should do the trick for every platform you want to support!
(Just make sure to download the OpenJDK builds for all platforms you want to support.)
It doesnt take long to install java though... :(
Title: Re: [java][OpenGL] Walrii PC game
Post by: Snektron on March 18, 2016, 08:08:47 PM
Don't all Java programs need the JRE to run? ._.
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 18, 2016, 08:10:35 PM
@alberthrocks also by JRE do you mean Java Virtual Machine (JVM)?
Title: Re: [java][OpenGL] Walrii PC game
Post by: alberthrocks on March 18, 2016, 08:17:17 PM
Quote from: c4ooo on March 18, 2016, 08:10:35 PM
@alberthrocks also by JRE do you mean Java Virtual Machine (JVM)?
JRE = Java Runtime Environment, which contains the JVM needed to run your program!

Java is a bit annoying to install, though... and for some people who have limited access to their computer, they may not be allowed to install Java at all, hence why having it bundled would make it portable.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 19, 2016, 05:58:55 AM
Yeah I agree that not requiring a java install would be nice. Some people might want to try this on a public computer, and like mentionned above, Java can be a major pain to install and stop working randomly (in my case, it takes several minutes to install sometimes). Another problem is that your game will most likely stop working in less than one year as people will update to newer versions of Java.


Anyway, I just tried it and it works fine for me. I also runs smoothly and plays nicely. The only suggestion I have would be to make the calculator take a larger portion of the screen since we don't need the calc keypad anyway. It would also be cool if the Walrii game supported multiple tilesets, so that it could play both with a calculator theme and with new color tiles. :)

EDIT: Bug report: my score is always negative O.O (for example, it says Your score: -76)
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 20, 2016, 10:17:51 PM
I can't even play it on my computer, but I bet it's because of my old graphics card.
I have Open GL 1.1. :P
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 20, 2016, 10:36:15 PM
Quote from: Dudeman313 on March 20, 2016, 10:17:51 PM
I can't even play it on my computer, but I bet it's because of my old graphics card.
I have Open GL 1.1. :P
What error do you get? Does the file simply not start? You need java btw. Also, AFAIK, this should work with like openGL 1. If not, then it will crash when you click play in the title screen, but the title screen defiantly can run with opengL 1 >_>
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 21, 2016, 01:45:31 AM
@c4ooo : No, it doesn't start. It has something to do with pixels, but when I'm at my computer, I'll post a picture of the error. I have Java, btw(honestly, who doesn't).

Here's a 9 second video of the error:
https://www.youtube.com/watch?v=zUIXRmz6LZg (https://www.youtube.com/watch?v=zUIXRmz6LZg)
Can you figure out what's wrong? I know my Aspire 5735 has had its fair share of errors...
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 22, 2016, 01:55:21 AM
@Dudeman313  yep your going to have to update your openGL drivers.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 22, 2016, 03:14:02 AM
I'm beginning to think this might also be what's causing your issues with CEmu. Either your graphic card is just too old or low-end to run anything recent, or your drivers are either outdated or corrupted.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 22, 2016, 01:08:15 PM
Quote from: c4ooo on March 22, 2016, 01:55:21 AM
@Dudeman313  yep your going to have to update your openGL drivers.
Okay. I just need to figure out how. :P

Quote from: DJ Omnimaga on March 22, 2016, 03:14:02 AM
I'm beginning to think this might also be what's causing your issues with CEmu. Either your graphic card is just too old or low-end to run anything recent, or your drivers are either outdated or corrupted.
I'm pretty sure that's the issue. If only I knew how to fix it...
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 22, 2016, 06:48:02 PM
Quote from: Dudeman313 on March 22, 2016, 01:08:15 PM
Quote from: c4ooo on March 22, 2016, 01:55:21 AM
@Dudeman313  yep your going to have to update your openGL drivers.
Okay. I just need to figure out how. :P

Quote from: DJ Omnimaga on March 22, 2016, 03:14:02 AM
I'm beginning to think this might also be what's causing your issues with CEmu. Either your graphic card is just too old or low-end to run anything recent, or your drivers are either outdated or corrupted.
I'm pretty sure that's the issue. If only I knew how to fix it...
Maybe you need to get Windows reinstalled from scratch? :P
Title: Re: [java][OpenGL] Walrii PC game
Post by: c4ooo on March 22, 2016, 06:52:33 PM
Bad idea, he will end up with windows 10 :P
@Dudeman313 just search up how to opdate opengl drivers ;)
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 22, 2016, 07:59:09 PM
The Win10 thing is unless he still has his serial written down or backups of his install and reinstall from those, right? And if doing so triggers an automatic update, then why not disconnecting your Internet before re-install? Otherwise, updating your drivers should normally work.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 22, 2016, 08:20:18 PM
Quote from: c4ooo on March 22, 2016, 06:52:33 PM
Bad idea, he will end up with windows 10 :P
@Dudeman313 just search up how to opdate opengl drivers ;)

Quote from: DJ Omnimaga on March 22, 2016, 07:59:09 PM
The Win10 thing is unless he still has his serial written down or backups of his install and reinstall from those, right? And if doing so triggers an automatic update, then why not disconnecting your Internet before re-install? Otherwise, updating your drivers should normally work.

Well it turns out that I can't. My graphics card from Intel is 1998-2006 and Intel's driver update utility says there are no new drivers available for my device, and Windows says the same. I would need to get a new card, and I don't know if my mom would get me one.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 22, 2016, 08:28:33 PM
Then you're out of luck then. Your graphic card is simply too old to play most new games. Plus integrated Intel graphic cards were usually several years behind to begin with, anyway. Sorry.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Snektron on March 22, 2016, 10:43:22 PM
Appearantly the new intel integrated graphics are pretty okay.

Anyway, @Dudeman313 it might be possible to ask your parents for a newer GPU, maybe a second hand one. I think OpenGL 3.2 (which is needed for most programs) was released in 2008, so any card newer than that might do it.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 22, 2016, 10:45:09 PM
Quote from: Cumred_Snektron on March 22, 2016, 10:43:22 PM
Appearantly the new intel integrated graphics are pretty okay.

Anyway, @Dudeman313 it might be possible to ask your parents for a newer GPU, maybe a second hand one. I think OpenGL 3.2 (which is needed for most programs) was released in 2008, so any card newer than that might do it.
She might. It depends, I might even get a Macbook for a MS graduation gift.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 22, 2016, 10:47:45 PM
I wonder if java programs made to be run on a computer can be compiled for Mac using the same tools and without any changes? Java used to be known for being portable when it was commonly used for web applets, but what about standalone executables?
Title: Re: [java][OpenGL] Walrii PC game
Post by: Snektron on March 22, 2016, 10:59:21 PM
Thats the idea of Java, and it should be able to without any changes (the windows jar can run on mac and on linux if everything goes well)
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on March 22, 2016, 11:06:04 PM
Oh. That's good to know. I learn something new everyday here. :)
But if I end up with the other computer my mom could give me as a graduation present (Lenovo x61s, which is probably just as old or older than my Aspire 5735) then I still won't be able to play the game.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 22, 2016, 11:09:29 PM
It depends what's in it. As I said, on-board Intel GPU's used to be years behind in technology (that isn't as much the case anymore) so even if your computer was from 2005, the Intel GPU could usually only run independent games from 2000 or lower and most 2002-04 commercial games had limitations and errors (for example, when I tried Halo on my 2005 PC the grass texture was like Nintendo 64 despite the game coming out 2 years before my PC). THis is no longer the case, but basically, if the Lenovo computer has something else than Intel graphics then it might have a little chance.
Title: Re: Walrii PC game
Post by: c4ooo on March 23, 2016, 12:36:41 AM
Quote from: DJ Omnimaga on March 22, 2016, 10:47:45 PM
I wonder if java programs made to be run on a computer can be compiled for Mac using the same tools and without any changes? Java used to be known for being portable when it was commonly used for web applets, but what about standalone executables?
'Write once, run anywhere'. A jar i compiled will run on any platform that has a JVM installed. The only problem is when you use libs like openGL that require different natives for different platforms >_>
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 23, 2016, 12:37:19 AM
What about compiled Java games (that don't use a JAR file, but rather an exe?)
Title: Re: Walrii PC game
Post by: alberthrocks on March 23, 2016, 01:15:33 PM
Quote from: DJ Omnimaga on March 23, 2016, 12:37:19 AM
What about compiled Java games (that don't use a JAR file, but rather an exe?)
https://github.com/libgdx/packr (the link I gave c4ooo earlier!)

Basically, that tool will bundle everything into a native app that people can run! (EXE, mac .app, etc.)
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 23, 2016, 04:41:04 PM
Cool, I didn't know about that program.
Title: Re: Walrii PC game
Post by: c4ooo on March 27, 2016, 06:22:33 PM
Quote from: DJ Omnimaga on March 23, 2016, 12:37:19 AM
What about compiled Java games (that don't use a JAR file, but rather an exe?)
The exe file is basicly a JAR file in disguise. AFAIK, it basically starts the JVM, telling it to run a jar file inside the EXE.
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on March 27, 2016, 07:16:26 PM
Ah ok, so it still requires the user to have Java installed?
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on April 02, 2016, 09:24:00 PM
I guess so. Any progress, @c4ooo on the simulator part?
And could anyone provide some gifs? I'd like to see the current game. :)
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on April 03, 2016, 05:58:01 PM
It's actually identical to Flappy Walrus 84+, but no motion blur.
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on April 03, 2016, 09:40:21 PM
I thought he was also making a simulated CE version?
Title: Re: Walrii PC game
Post by: Dream of Omnimaga on April 11, 2016, 04:15:14 AM
I don't recall that. Maybe I forgot, though. @c4ooo would be the only one who can answer. Btw I wonder what's the progress on Walrii PC Game?
Title: Re: [java][OpenGL] Walrii PC game
Post by: Dudeman313 on April 11, 2016, 12:52:37 PM
I know on IRC that he was photoshopping a Walrii CE, and I thought that was for his game.
I'd like to know the current progress, though. :)