Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (865)
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 ... 215
  ignore  |  Print  
  What I did today  (Read 3544707 times)
0 Members and 21 Guests are viewing this topic.
Offline CommanderKeith
« Reply #240 - 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.

Offline JVallius
« Reply #241 - 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 #242 - 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

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



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

square of -2 is .. +4 O_o
Offline VIrtueeL
« Reply #244 - 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 #245 - 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: 1126
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


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

Indeed, power should take precedence over negation.

Cas Smiley

Offline CommanderKeith
« Reply #247 - 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?

Offline SauronWatchesYou

JGO Ninja


Medals: 33
Projects: 4
Exp: 2 years


Hi there! :)


« Reply #248 - 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!

Hey, you! Back to work
Offline kingroka123
« Reply #249 - 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
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


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


« Reply #250 - 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

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #251 - 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?)

Offline trollwarrior1
« Reply #252 - Posted 2014-07-19 10:18:20 »

Offline GIRakaCHEEZER

Junior Devvie


Medals: 5
Projects: 1



« Reply #253 - 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: 379
Projects: 2
Exp: 2 years


Resident Crazyman


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

oh god! Run for your lives!

Click to Play

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Offline Slyth2727
« Reply #255 - 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
Offline mag
« Reply #256 - Posted 2014-07-20 16:45:51 »

Started on an isometric project.

Offline Screem
« Reply #257 - 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: 418
Exp: 13 years



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

I blured highlights with mipmaps :
Offline mag
« Reply #259 - 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: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #260 - 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 #261 - 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

JGO Knight


Medals: 59



« Reply #262 - 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 #263 - Posted 2014-07-21 19:22:25 »



Took eight hours to build. Tongue

Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



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

looks fractal
Offline DarkCart

JGO Kernel


Medals: 124
Projects: 9
Exp: 50 years


It's all in the mind, y'know.


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

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






The darkest of carts.
Offline GNecro1
« Reply #266 - 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 #267 - Posted 2014-07-22 01:08:10 »

I drew Slenderman today. It was an interesting endeavor.
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #268 - Posted 2014-07-22 07:24:28 »

Wrote an island generator - ok I only got 30 minutes last night, sheesh!



Cheers,

Kev

Offline princec

« JGO Spiffy Duke »


Medals: 1126
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #269 - Posted 2014-07-22 08:01:30 »

Nice island Smiley Needs chickens.

Cas Smiley

Pages: 1 ... 7 8 [9] 10 11 ... 215
  ignore  |  Print  
 
 

 
Riven (189 views)
2019-09-04 15:33:17

hadezbladez (4876 views)
2018-11-16 13:46:03

hadezbladez (1790 views)
2018-11-16 13:41:33

hadezbladez (5147 views)
2018-11-16 13:35:35

hadezbladez (1018 views)
2018-11-16 13:32:03

EgonOlsen (4377 views)
2018-06-10 19:43:48

EgonOlsen (5220 views)
2018-06-10 19:43:44

EgonOlsen (2949 views)
2018-06-10 19:43:20

DesertCoockie (3868 views)
2018-05-13 18:23:11

nelsongames (4294 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
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!