Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 7 8 [9] 10 11 ... 40
  ignore  |  Print  
  What I did today  (Read 101545 times)
0 Members and 8 Guests are viewing this topic.
Offline Longor1996
« Reply #240 - Posted 2014-07-17 20:46:49 »

If lightmaps only contain indirect component you can easily remap it to never go to zero. Just remember that if you can see something then light also can go there and its never pitch black.

Thanks for the tip, I will try that out some time soon.
Its not like fixing someone else lightmapper (that is written in Pascal) is my job/goal.

I made a staircase.

So you didn't actually make the shadows or AO, you just used a lightmap generation program to do it for you and then just mapped the textures to some geometry?


Your post 'sounds' like you are mad at me for actually using 3rd party tools to do the job instead of creating my own tool like I always do.

Yes, I created the geometry and lighting with a level-editor, then read that into my own Engine, which was outfitted with physics, and a renderer+reader for the RTW-format over the last three days. Next on to do is to implement an actual Entity-system, and cleaning up code.

And as I said: I made a staircase. (And more things behind the scenes which you can't see)
Thats "What I did Today", and have a nice day.

- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline Slyth2727
« Reply #241 - Posted 2014-07-18 02:48:02 »

...

Whoah chill man, I have nothing wrong with that. I realize that came out a little harsher than intended. Don't get me wrong, you did a good job.
I just got the impression that you programmed all the shadows, AO, and other effects yourself, but I might have just been assuming too much.
Nonetheless, you're doing a good job, and I'm sure you will continue to do so. Looks like a really nice engine you have going there Smiley

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline CommanderKeith
« Reply #242 - Posted 2014-07-18 08:43:00 »

Some excel madness. Somehow fascinating, no?
Ah hah! An excel data table. I used to have to do sensitivity analysis using these.
How do you find MS Excel?
I like the concept of it and the keyboard short cuts. It's the best thing for playing around with numbers and equations.
But the formulas are hopeless. For example if cell A1 contains the number "2", and cell B1 contains "=-A1^2", then B1 will show 4, not -4.  Huh? It violates mathematics.
VLOOKUP sucks, as do 'array' functions such as SUM(IF(A1:A100=true, 1, 0)) {ctrl+shift+enter} since they don't work with non-array functions. For example SUM(IF(AND(A1:A100>0, A1:A100<1, 1, 0)) will not work. You have to do SUM(IF((A1:A100>0)*(A1:A100<1), 1, 0)) which is quite frustrating.
I also hate how there's 30 ways to paste a copied cell except there's no way to copy the textual contents (formula text) of a cell without manually highlighting the text within the cell.
Also, VBA sucks compared to Java. I still don't know how to use it, it appears to have no structure to its method names.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline JVallius
« Reply #243 - Posted 2014-07-18 09:42:37 »

But the formulas are hopeless. For example if cell A1 contains the number "2", and cell B1 contains "=-A1^2", then B1 will show 4, not -4.  Huh? It violates mathematics.

No, Excel is right here. It's about order of operations.
Your B1 formula -A1^2 is -2^2 = 4, which is correct.
You need to add parentheses -(A1^2), then you get -4.

I have found Excel very useful tool when designing algorithms, ie. for combat systems.

Offline CommanderKeith
« Reply #244 - Posted 2014-07-18 11:20:28 »

I just tested it on wolfram alpha and it says its -4:
http://m.wolframalpha.com/input/?i=-2%5E2&x=0&y=0

Offline basil_

« JGO Bitwise Duke »


Medals: 98
Exp: 12 years



« Reply #245 - Posted 2014-07-18 11:25:19 »

square of -2 is .. +4 O_o
Offline VIrtueeL
« Reply #246 - Posted 2014-07-18 11:31:49 »



Smiley nice 13337

i do devlogs and i do tutorials check em out
https://www.youtube.com/user/InidDevo
Offline JVallius
« Reply #247 - Posted 2014-07-18 12:02:39 »

Yes of course:

-2^2=-4
(-2)^2=4

My bad. Funny how so basic things can go wrong. Tongue

Excel blasphemes the math.

Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #248 - Posted 2014-07-18 13:37:18 »

Indeed, power should take precedence over negation.

Cas Smiley

Offline CommanderKeith
« Reply #249 - Posted 2014-07-18 14:32:03 »

I came across the bug by accident and it took hours to figure out what was wrong.
I just googled it and apparently it's known: https://www.google.com.au/?#q=excel+order+of+operations+bug
It was funny reading the links and seeing smarter guys than us on engineering forums argue about order of operations too.

Microsoft must have made a conscious decision to keep that bug forever to preserve backwards compatibility. So funny. Many bank models and other important things are done using excel, I wonder how often that error pops up and invalidates their equations?

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SauronWatchesYou
« Reply #250 - Posted 2014-07-18 19:47:45 »

Today I've been working with some more Scene2D and learning about Actions. I wanted some fading out transitions for my game and it was the easiest way, considering I've used Stage in my project a fair amount.

Likely going to load up a new project tomorrow and mess around with more Box2D and I am looking to use it for my next game Cheesy fun, fun!
Offline kingroka123

JGO Ninja


Medals: 43
Projects: 7
Exp: 1 year


Gamer's Helmet


« Reply #251 - Posted 2014-07-19 03:24:53 »

Yes of course:

-2^2=-4
(-2)^2=4

My bad. Funny how so basic things can go wrong. Tongue

Excel blasphemes the math.
I look at the first equation like this:
-1*2^2=-4

When written out like that, it is easier to see why the outcome is -4 <---edit: I meant negative

Offline HeroesGraveDev

JGO Kernel


Medals: 310
Projects: 11
Exp: 3 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #252 - Posted 2014-07-19 03:27:06 »

I look at the first equation like this:
-1*2^2=-4

When written out like that, it is easier to see why the outcome is 4

It should still be -4.

-1*2^2        Starting equation
-1*4             Solve exponent
-4                 Multiply

Offline Ecumene
« Reply #253 - Posted 2014-07-19 06:06:56 »

I made a logo for my graphics library: (Has absolutely nothing to do with graphics, but most people use graphics to make games, right?)
Online trollwarrior1
« Reply #254 - Posted 2014-07-19 10:18:20 »

Offline GIRakaCHEEZER

Junior Devvie


Medals: 5
Projects: 1



« Reply #255 - Posted 2014-07-20 06:46:27 »

I converted my game's music engine to use SourceDataLines instead of Clips, so now there's no load time for songs and it's amazing!  And I even got it to loop properly too.
Offline Rayvolution

« JGO Spiffy Duke »


Medals: 253
Projects: 2
Exp: 1 year


Resident Crazyman


« Reply #256 - Posted 2014-07-20 15:56:07 »

oh god! Run for your lives!

Click to Play

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Survival Sim/Builder/Roguelike!
LIVE-STREAMING DEVELOPMENT: http://www.twitch.tv/SG_Rayvolution
Offline Slyth2727
« Reply #257 - Posted 2014-07-20 16:39:33 »

I wrote an article on bit manipulation, messed around with Sencha Touch, advanced on my L-Systems which I hadn't touched since my topic on it. You can make some beautiful things with it. Landed my first 5 stair today as well Smiley

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline mag

Junior Devvie


Medals: 9
Exp: 2 years



« Reply #258 - Posted 2014-07-20 16:45:51 »

Started on an isometric project.

Offline Screem
« Reply #259 - Posted 2014-07-20 21:49:24 »

@mag
That's really neat! Is it rendered in 3D or 2D? I'm guessing 3D by the shadows but I'm not sure. Also, are you using a noise function for that?
Offline basil_

« JGO Bitwise Duke »


Medals: 98
Exp: 12 years



« Reply #260 - Posted 2014-07-20 22:57:01 »

I blured highlights with mipmaps :
Offline mag

Junior Devvie


Medals: 9
Exp: 2 years



« Reply #261 - Posted 2014-07-20 23:29:22 »

@screem
Thank you, it's rendered in 3d using an orthographic projection matrix. Mainly because I want to be able
to rotate to any given rotation and the lighting.
The world is generated using perlin noise.  Wink
Offline kevglass

« JGO Spiffy Duke »


Medals: 212
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #262 - Posted 2014-07-21 08:20:18 »

Last night really, random prototype due to boredom:



<a href="http://www.youtube.com/v/Cuf2hgk_-nk?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/Cuf2hgk_-nk?version=3&amp;hl=en_US&amp;start=</a>

Really have to learn to focus! Smiley

Cheers,

Kev

Offline mojo
« Reply #263 - Posted 2014-07-21 16:05:03 »

Every time I work on "game tools" I want to shoot myself. I love Java, but for more sophisticated stuff that don’t need to look good I'm tempted to switch to .NET Winforms.

Nevertheless, here is today’s attempt on an in-game editor :

Offline thedanisaur
« Reply #264 - Posted 2014-07-21 16:48:34 »

Today (yesterday) I wrote a model loader for the FBX format so I can have animations, sadly it only supports models right now and the normals are rendered as colors.


Every village needs an idiot Cool
Offline JVallius
« Reply #265 - Posted 2014-07-21 19:22:25 »



Took eight hours to build. Tongue

Offline basil_

« JGO Bitwise Duke »


Medals: 98
Exp: 12 years



« Reply #266 - Posted 2014-07-21 20:00:23 »

looks fractal
Offline DarkCart

JGO Knight


Medals: 24
Projects: 7
Exp: 2 years


Power of the mind over flesh


« Reply #267 - Posted 2014-07-21 21:19:08 »

Made these tiles earlier for a puzzle game. Any game design ideas?






Play Mazer | Or visit Sticks | Or try out SJGL
Offline GNecro1
« Reply #268 - Posted 2014-07-21 22:43:21 »

I am making my character design here is the sketch doing pixel art later :



Java freak! Cheesy
Offline Slyth2727
« Reply #269 - Posted 2014-07-22 01:08:10 »

I drew Slenderman today. It was an interesting endeavor.

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Pages: 1 ... 7 8 [9] 10 11 ... 40
  ignore  |  Print  
 
 

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (30 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (50 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (57 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (113 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!