Search found 44 matches

by rexjericho
Tue Mar 10, 2015 11:44 pm
Forum: General
Topic: So you say you want a random number?
Replies: 3
Views: 2868

Re: So you say you want a random number?

If you're interested in testing random number generators, try implementing some of these tests:

http://en.wikipedia.org/wiki/Diehard_tests
by rexjericho
Tue Feb 03, 2015 8:38 am
Forum: Support and Development
Topic: Some code to correct
Replies: 3
Views: 2208

Re: Some code to correct

Hey, I had a look at your code. You should try printing debug information for both player.mpos and player.ppos to see what is going on. It looks like player.ppos is only being updated when your guy is inside a dungeon. And it looks like the location changes back to "map" when your player's...
by rexjericho
Mon Feb 02, 2015 4:08 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1496945

Re: What's everyone working on? (tigsource inspired)

I'm working on updating my Boids simulation and making some animations from it.
viewtopic.php?f=5&t=78542&hilit=boids

by rexjericho
Fri Jan 23, 2015 5:01 am
Forum: Support and Development
Topic: [HELP] External File Problem
Replies: 4
Views: 3626

Re: [HELP] External File Problem

The problem may be because the file "money.lua" is not being created on line 85. I don't think love.filesystem.newFile() actually writes a physical file to the hard drive. love.filesystem.write() will create a file if it does not exist. You can try changing that line to: if not love.filesy...
by rexjericho
Wed Jan 21, 2015 1:56 am
Forum: Libraries and Tools
Topic: [TechDemo] liqöd - Water Simulation
Replies: 11
Views: 6679

Re: [TechDemo] liqöd - Water Simulation

Awesome job implementing bounderies :D What's min_x and min_y for in your code ? I'm going to merge your code with mine and upload it to github if you don't mind. I don't mind at all. (x_min, x_max) and (y_min, y_max) were for figuring out the bounds for particle.position . Then I found that I coul...
by rexjericho
Tue Jan 20, 2015 3:41 am
Forum: Libraries and Tools
Topic: [TechDemo] liqöd - Water Simulation
Replies: 11
Views: 6679

Re: [TechDemo] liqöd - Water Simulation

Hey, this is really cool. I've been looking into SPH fluid simulation over the past few months. I looked at your code, and modified a few lines to add gravity to the simulation to see how it would look. Press "g" to toggle gravity. One way that could help with speeding up your program is t...
by rexjericho
Sat Jan 17, 2015 7:38 am
Forum: Libraries and Tools
Topic: [Tool] Gradient Editor
Replies: 7
Views: 4581

Re: [Tool] Gradient Editor

@Muris: I haven't looked at the code in over 2 years, and it looks like a mess with not enough comments, so changing things may be a little difficult. I think I will be able to add a curve preview with a little work. @josefnpat: Made a small library for drawing the gradient data into rectangles, cir...
by rexjericho
Fri Jan 16, 2015 8:21 am
Forum: Libraries and Tools
Topic: [Tool] Gradient Editor
Replies: 7
Views: 4581

Re: [Tool] Gradient Editor

Hey, glad you liked it. I'm just asking for some clarification on your question. Do you mean: Use the editor to generate a gradient, save that data to a file, and then have some functions for drawing the gradient at some location. This would be very doable. or Have the editor open in your game, let ...
by rexjericho
Fri Jan 16, 2015 4:42 am
Forum: Libraries and Tools
Topic: [Tool] Gradient Editor
Replies: 7
Views: 4581

[Tool] Gradient Editor

I use gradients a lot in my projects so I made this editor to speed up the process of generating them. https://love2d.org/imgmirrur/detp6KB.png How to use: 1. Choose the initial and final colours using the colour sliders on the right. Colours can be edited by RGB or by HSL values. 2. Edit the HSL cu...
by rexjericho
Thu Jan 08, 2015 9:15 am
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1791
Views: 1496945

Re: What's everyone working on? (tigsource inspired)

I'm working on turning some of my LOVE projects into videos to put into a programming portfolio. This one visualises Twitter hashtag usage over time. The size of the circles are proportional to the usage frequency of the hashtag. The data set in this video consists of 120 000 tweets collected over t...