[QUOTE=nekosune;27773979]I have the emulator set to the resolution of the phone I am likely going to be able to afford , so 240x320.[/QUOTE]
Does such a thing even exist? The cheapest, most crappy android phone I could find (for £100) has a much higher resolution than that.
[QUOTE=Catdaemon;27774011]Does such a thing even exist? The cheapest, most crappy android phone I could find (for £100) has a much higher resolution than that.[/QUOTE]
[url]http://direct.tesco.com/q/R.209-3594.aspx?utm_source=GoogleShopping&utm_medium=GSF_NormalFeed&utm_campaign=GSF_TescoDirect&utm_content=Tesco%20Mobile%20Samsung%20Europa%20Android%20I5500[/url]
[editline]31st January 2011[/editline]
[url]http://www.google.co.uk/products/catalog?q=samsung+europa&cid=12231834274440905554&os=tech-specs[/url]
for better specs on it.
[editline]31st January 2011[/editline]
[quote=samsung i5500 specs]
Display
Type LCD display - colour
Technology TFT
Diagonal Size 2.8"
Display Resolution 320 x 240 pixels
Colour Depth 16.7 million colours
[/quote]
[editline]31st January 2011[/editline]
May you link to the £100 one by the way? if it has better resolution I am all for looking at it. £100 is the upper end of my budget right now.
[editline]31st January 2011[/editline]
Ruined this phisher's send.php again with the same hole after he again posted this backpack exploit phish scam in the TF2 section, when will they learn?
Success! Here's an example post:
[img]http://gyazo.com/e8511a1c00829d6e6e1b92d1bc05ebcf.png[/img]
For reference, this is what I get from the API:
[code]I'm gonna buy chocolate for my girlfriend. She'll never get it, as I'll end up eating it.<br \/>\n<br \/>\nGoodbye to you, ya whore.<br \/>\n<br \/>\nJust kidding. FP'er don't have girlfriends. <img src=\"http:\/\/cdn.fpcontent.net\/fp\/emoot\/downs.gif\" border=\"0\" alt=\"\" title=\"Downs\" class=\"inlineimg\" \/><br \/>\n<br \/>\n<font size=1 color=\"#444444\"><b>Edited:<\/b><\/font><br \/>\n<br \/>\n<div class=\"quote\">\r\n\t\r\n\t\t<div class=\"information\">\r\n\t\t\t\r\n\t\t\t\t<a href=\"showthread.php?p=27772490#post27772490\" rel=\"nofollow\">Occlusion posted:<\/a>\r\n\t\t\t\r\n\t\t<\/div>\r\n\t\r\n\t<div class=\"message\">gonna see this metal as fuck mofo<br \/>\n<br \/>\n<a href=\"http:\/\/www.gigwise.com\/artists\/00010902_BlackLabelSocietyZakWylde5.jpg\"><img src=\"http:\/\/www.gigwise.com\/artists\/00010902_BlackLabelSocietyZakWylde5.jpg\" class=\"thumb\" \/><\/a><\/div>\r\n\t\r\n<\/div> His microphone stand is cool. I want it.[/code]
[QUOTE=Overv;27775164]Success! Here's an example post:
[img_thumb]http://gyazo.com/e8511a1c00829d6e6e1b92d1bc05ebcf.png[/img_thumb]
For reference, this is what I get from the API:
[code]I'm gonna buy chocolate for my girlfriend. She'll never get it, as I'll end up eating it.<br \/>\n<br \/>\nGoodbye to you, ya whore.<br \/>\n<br \/>\nJust kidding. FP'er don't have girlfriends. <img src=\"http:\/\/cdn.fpcontent.net\/fp\/emoot\/downs.gif\" border=\"0\" alt=\"\" title=\"Downs\" class=\"inlineimg\" \/><br \/>\n<br \/>\n<font size=1 color=\"#444444\"><b>Edited:<\/b><\/font><br \/>\n<br \/>\n<div class=\"quote\">\r\n\t\r\n\t\t<div class=\"information\">\r\n\t\t\t\r\n\t\t\t\t<a href=\"showthread.php?p=27772490#post27772490\" rel=\"nofollow\">Occlusion posted:<\/a>\r\n\t\t\t\r\n\t\t<\/div>\r\n\t\r\n\t<div class=\"message\">gonna see this metal as fuck mofo<br \/>\n<br \/>\n<a href=\"http:\/\/www.gigwise.com\/artists\/00010902_BlackLabelSocietyZakWylde5.jpg\"><img src=\"http:\/\/www.gigwise.com\/artists\/00010902_BlackLabelSocietyZakWylde5.jpg\" class=\"thumb\" \/><\/a><\/div>\r\n\t\r\n<\/div> His microphone stand is cool. I want it.[/code][/QUOTE]
Nice. I can't wait for your app on Android. When is the beta coming?
[QUOTE=Benji;27775232]Nice. I can't wait for your app on Android. When is the beta coming?[/QUOTE]
When it has all of the features. The alpha with forum browsing will probably come today.
[QUOTE=Overv;27775282]When it has all of the features. The alpha with forum browsing will probably come today.[/QUOTE]
Nice, My android app was going fine, until I found out somehow putting on a higher resolution emulator messes up how it splits an image into tiles :-S
Does anyone have a ready-to-use C# binary heap class?
[img]http://i.imgur.com/W0m7Z.png[/img]
after 3 days of murdering matrixes.. its... alive...
First attempt at making anything in C++
[img]http://img834.imageshack.us/img834/5564/ss20110131195556.png[/img]
Wow, embarrassing first page post
My code can now successfully parse the WAYWO OP and several other complicated posts. Time to get that alpha going and then work on the renderer shall commence.
[QUOTE=nekosune;27774021]
May you link to the £100 one by the way? if it has better resolution I am all for looking at it. £100 is the upper end of my budget right now.[/QUOTE]
[url]http://uk.webuy.com/phones/product.php?mastersku=SSAMI5700[/url]
Mine was brand new/refurb but I got it in store so idk. It was locked to 3 but I unlocked it myself. The phone is fucking shite (before flashing custom roms) but it's a hell of a lot better than the one you linked to lmao. I bought it because my friend got one on contract and I was impressed by the battery life (my main concern).
Also I just got my first programming assignment for university back.
[url]http://img.meteornet.net/uploads/lidbjdn4e/ss.PNG[/url]
wtf
[QUOTE=Kondor58;27777166]First attempt at making anything in C++
[img_thumb]http://img834.imageshack.us/img834/5564/ss20110131195556.png[/img_thumb]
Wow, embarrassing first page post[/QUOTE]
Next make it parse a simple expression of the form <number><operator><number>. It's actually quite easy to do with streams.
[editline]31st January 2011[/editline]
[QUOTE=Catdaemon;27777391]
Also I just got my first programming assignment for university back.
[url]http://img.meteornet.net/uploads/lidbjdn4e/ss.PNG[/url]
wtf[/QUOTE]
Maybe they thought commenting is showing off? :v:
Hey,
[QUOTE=SupahVee;27776668]Does anyone have a ready-to-use C# binary heap class?[/QUOTE]
Here's mine:
[cpp]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace big_maze_solver
{
public class Heap<K, T> where K : IComparable<K>
{
public class Pair : IComparable<Pair>
{
public K k;
public T t;
public Pair(K k, T t)
{
this.k = k;
this.t = t;
}
public int CompareTo(Pair rhs)
{
return k.CompareTo(rhs.k);
}
}
public Pair makePair(K k, T t)
{
return new Pair(k, t);
}
private List<Pair> heap;
private int count;
public Heap()
{
heap = new List<Pair>();
count = 0;
}
public void push(Pair pair)
{
count++;
if (heap.Count < count)
heap.Add(pair);
else
heap[count - 1] = pair;
bubbleUp(count - 1);
}
public Pair pop()
{
if (count < 1)
return null;
Pair ret = heap[0];
heap[0] = heap[count - 1];
count--;
bubbleDown(0);
return ret;
}
public bool hasMore()
{
return count > 0;
}
private void swap(int a, int b)
{
Pair temp = heap[a];
heap[a] = heap[b];
heap[b] = temp;
}
private void bubbleUp(int c)
{
// first element
if (c <= 0)
return;
int p = parent(c);
if (heap[p].CompareTo(heap[c]) > 0)
{
swap(p, c);
bubbleUp(p);
}
}
private void bubbleDown(int p)
{
if (p >= count)
return;
int c0 = child(p);
int c1 = c0 + 1;
// we want the smaller child
int smaller = p;
if (c0 < count && heap[smaller].CompareTo(heap[c0]) > 0)
smaller = c0;
if (c1 < count && heap[smaller].CompareTo(heap[c1]) > 0)
smaller = c1;
if (p != smaller)
{
swap(p, smaller);
bubbleDown(smaller);
}
}
private int parent(int c)
{
if (c < 1)
return 0;
return (c - 1) / 2;
}
// first child
private int child(int p)
{
return 2 * p + 1;
}
}
}
[/cpp]
It's not very pretty and it doesn't have a lot of features, but it's all I needed to write for Spocco's A* challenge. It has an obscure optimization where the internal List never deallocates any memory until the Heap itself is deallocated.
Usage looks like this:
[cpp]
// <key, value>
Heap<int, MyClass> heap = new Heap<int, MyClass>();
for (int i = 0; i < 10; ++i)
heap.push(heap.makePair(i, new MyClass(i)));
while (heap.hasMore())
{
var pair = heap.pop();
int key = pair.k;
MyClass value = pair.t;
}
[/cpp]
[url]https://2dthingymajig.googlecode.com/hg[/url]
Stuck my awesome (thats a lie) game up on google code (mercurial), feel free to laugh at the source :v:
[QUOTE=bromvlieg;27776896][img_thumb]http://i.imgur.com/W0m7Z.png[/img_thumb]
after 3 days of murdering matrixes.. its... alive...[/QUOTE]
[img]http://gyazo.com/431c6b07c2361995ce38557d258f170d.png[/img]
uuuhhhh
[img]http://i55.tinypic.com/732qsk.png[/img]
I don't even sort the A* open list anymore because it creates awesome straight edges like those ones. It's still slow and I don't understand why though. I will implement the heap tomorrow, but I'm not sure how much performance gain it will give me over a List<T> since I don't even sort it anymore.
Hey,
[QUOTE=SupahVee;27777830][img_thumb]http://i55.tinypic.com/732qsk.png[/img_thumb]
I don't even sort the A* open list anymore because it creates awesome straight edges like those ones. It's still slow and I don't understand why though. I will implement the heap tomorrow, but I'm not sure how much performance gain it will give me over a List<T> since I don't even sort it anymore.[/QUOTE]
Wait, what are you using A* for?
[QUOTE=Catdaemon;27777391]Also I just got my first programming assignment for university back.
[url]http://img.meteornet.net/uploads/lidbjdn4e/ss.PNG[/url]
wtf[/QUOTE]
What was it you had to do?
Hey,
[QUOTE=limitofinf;27777890]Hey,
Wait, what are you using A* for?[/QUOTE]
Hey. Hey. Hey. HeY. HEy. HEY. HEY. HEY. HEEEEY. HEEEEEEEEEEEEEEEEEEEEEEEY.
[QUOTE=limitofinf;27777890]Hey,
Wait, what are you using A* for?[/QUOTE]
Hey, (>.>)
I imagine it navigates from one side of the map to the other?
[QUOTE=Maurice;27770333]2nd pic, "Nano Beasts" what.[/QUOTE]
It's a song.
[QUOTE=limitofinf;27777890]Hey,
Wait, what are you using A* for?[/QUOTE]
Hey,
I'd assume it's to generate some nice, traversable dungeons.
[QUOTE=SupahVee;27777830][img_thumb]http://i55.tinypic.com/732qsk.png[/img_thumb]
I don't even sort the A* open list anymore because it creates awesome straight edges like those ones. It's still slow and I don't understand why though. I will implement the heap tomorrow, but I'm not sure how much performance gain it will give me over a List<T> since I don't even sort it anymore.[/QUOTE]
Those generated maps look really cool.
[QUOTE=limitofinf;27777890]Hey,
Wait, what are you using A* for?[/QUOTE]
To generate a dungeon which is properly traversable, obviously.
Edit: Ninja'd down to the word traversable. :frown:
I created an extremely basic ascii terrain generator in a beginner's coding program (it's called Turing in case you were wondering).
[img]http://img201.imageshack.us/img201/3086/ss20110131155027.png[/img]
Those #'s are supposed to be rocks by the way.
trippy
[QUOTE=Robber;27728498][media]http://www.youtube.com/watch?v=yxozGuJaOMY[/media]
It's not as polished as Jallen's and doesn't run on Android, but I think it proves my point that it took 37 minutes to make it from scratch.[/QUOTE]
Awesome, Sauce?
Looks very Dwarf Fortress-esque, Micr0
Hey,
You're all missing the point. A* is for [i]finding the shortest path[/i] from A to B. It has nothing to do with [i]generating[/i] maps. If you need to see [i]if there is a path[/i] between A and B, then all you need is a floodfill, which will be [i]much[/i] faster than using A*.
[b]Edit:[/b] Went a little overboard with the italics :v:
[QUOTE=limitofinf;27779328]Hey,[/QUOTE]
Hey,
I dont really have anything else to say, that was it
:v:
Sorry, you need to Log In to post a reply to this thread.