Category Archives: All Posts

Pixel Arcade Release Information – #14

Pixel Arcade is a virtual reality platformer set in neon cyber space. It will boast over 25 levels on initial release, with more added monthly.. and potentially weekly due to its early access ability.

The game is still under development, and have to implement force to next level, set the slider onto the players maxed unlock level and to implement the remaining levels before early access release at the end of July! I have no expectiations for this game as it is the first game i have developed going to steam. With the ability to by pass all fees and get the game out due to it being VR it means im going to learn the valve submission ropes. Below are some finalised gameplay screenshots that will likely not change before release so you can gain an understanding on the games apperance.

I cant wait for it to be titled the hardest VR platformer on the market, because it gets very hard as levels progress if you want a decent time. Steam leaderboards, workshop level capability are in the works post release.

Im also available for work, so visit my contact section on my website to find out more and get in touch.

Web Articles About me and my work – #13

I thought it was about time I had a blog post dedicated to all the accolades and articles that have been written about me in regards to my various web development and game design accolades. Will format and continue to update this post.

https://www.scotgrad.co.uk/students/success-stories/corrie-green

https://www.scotgrad.co.uk/news/success-stories/scotgrad-alumni-and-where-are-they-now

PHP, MySQL (PDO) Upload Image to Server – #12

Hi all,

So I’ve been programming in PHP for a few years now against opinions of my colleagues and co workers, I think its a great language and thanks to PHP 7 (FINALLY) it is actually quicker than you would think. So for this reason I dont intend on stopping working with it. So as we all know, the internet is full of information that isn’t always right, or it is simply outdated. Something that I found incredibly tedious to search for was image uploading to a server, store the url of the image and then display it on the page from an SQL server. Today I’m going to show you how to create this system of uploading and displaying an image from scratch. All you will need is your ide of choice – Notepad++ is my personal fav for this ok – and easy php or equivalent local developer environment. Source code will be below, and a download for the packaged contents. NOTE that there is no validation for this, check out w3 schools for simple validation.

So lets get started. We will be creating an upload script, fetch script, sql script for the database to store the image and a simple html page that will post the image to the upload script. A config file will also be created for usability and disabling errors… list goes on. You should ALWAYS use a config file so the transition between local and live development is even more seamless.

So to start lets get the database set up.

SQL

CREATE TABLE IF NOT EXISTS `photos` (
`imageID` int(6) NOT NULL AUTO_INCREMENT COMMENT 'ID of the image',
`imagePath` varchar(50) NOT NULL COMMENT 'The image name being stored',
`photographerID` int(6) NOT NULL COMMENT 'Blog Post ID if post image is in',
`photoTags` varchar(50) NOT NULL COMMENT 'Tags associated with the photo',
PRIMARY KEY (`imageID`)
);

As we are NOT doing this with blobs so the file size isnt static (i have the source code for this if you want it tweet me) therefore the file will be stored in a directory in our server, so simply a string such as uploads/my-image.png

Next we will create our Upload html page

upload.html

<form action="store_image.php" method="post" enctype="multipart/form-data">
Select image to upload:
<input type="file" name="fileToUpload" id="fileToUpload">
<input type="submit" value="Upload Image" name="submit">
</form>

Here we past everything / our image posted to store_image.php (or upload, i recommend renaming these files so you understand what is being passed around)

store_image.php

<?php
include_once("config/config.php");

$folder = "uploads/";
$upload_image = $folder . basename($_FILES["fileToUpload"]["name"]);
if(isset($_POST["submit"])) {
if (move_uploaded_file($_FILES["fileToUpload"]["tmp_name"], $upload_image)) {
echo "The file ". basename( $_FILES["fileToUpload"]["name"]). " has been uploaded.";
//store it in the dba_close
$insert_query="INSERT INTO photos (imagePath, photographerID, photoTags) VALUES('$upload_image', 0, 'tag1')";

$con = new PDO( DB_DSN, DB_USERNAME, DB_PASSWORD );
$con->setAttribute( PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION );
$stmt = $con->prepare($insert_query);
$stmt->execute();

//Navigate to display the image
header( 'Location: fetch_image.php' );

} else {
echo "Sorry, there was an error uploading your file.";
}
}

?>

If you set up the data base with the script above you are going to store the image into the server, if this is successful then you are going to store the image url in the database with a unique id to be retrieved when you want.

fetch_image.php


<?php

include_once("config/config.php");

$con= new PDO(DB_DSN, DB_USERNAME, DB_PASSWORD);
$sthandler = $con->prepare("SELECT * FROM photos");

$sthandler->execute();
while ($row = $sthandler->fetch(PDO::FETCH_ASSOC)){

$image_name=$row["imagePath"];
echo "<img src=".$image_name." width=100 height=100/>"?>
}
?>

Here we simple echo out the directory of all the images stored in our table. Remember the tags in the echo statement so it parses as html and not simply text!

And last but not least, a config file. Note the storage location of this file. Its under a directory config/config.php allowing us to have a few different configs that we can rename depending on the enviroment we are using. Mine is below, but remember you will need to adjust this to suite your set up.

config.php
<?php
error_reporting(E_ALL);
define( “DB_DSN”, “mysql:host=localhost;dbname=db_pshare” );
define( “DB_USERNAME”, “root” );
define( “DB_PASSWORD”, “” );
?>

Thats it, simple right? So tweet me for questions as I dont moderate this blog and mainly use it for myself. Let me know if you need any help. Its pretty simple without any unnecessary code to confuse you until you get it set up.

Have a good one!

– Corrie

Latest Developments and whats left – #11

So with v2.0 coming to a close, the list of things to implement is getting shorter and shorter! Even though I keep adding something to it… but its all to improve the game. It was only last night I realised that I hated the tutorial so am re doing that to be even more minimal. I’m also adding in a multiplier mechanic, that for more enemies you have spawned, the more the multiplier, getting your score up the more difficult it is. The game is still so very minimal, these implementations dont need to be added, but for the gamer who wants a game they can continually come back to, then these features will keep them entertained for much longer.

Here is a GIF of last nights development session, adding in an effect for the player when they lose their health from attacking enemies, flickering the player. The other feature added was a simple pause button to allow you to resume the onslaught after that appointment you didnt want to go to 😉

Below is the list of features still to add, currently about to think about how to optimize the multiplier so it doesnt affect framerate. Hoping to re use some code I have for getting all the spawned enemies into an array which I can then count.

Pause_&amp;_PlayerHIt

TO SEE WHAT V2.0 HAS AND THE ONLY PLACE ON THE INTERNET TO GET IT, DOWNLOAD IT HERE, REMEMBER IT HASN’T BEEN TESTED SO BARE WITH ME! IT SHOULD BE BUG FREE THOUGH, TWEET ME IF YOU FIND ANYTHING <3 DOWNLOAD HERE

Have a good one!

– Corrie

The Future Including iOS and IAP’s – #10

The Edge has been well received by the public, which is amazing and couldn’t have been more proud of the game. Some of you have even spent over 30 minutes playing the game in one session – i assure you im working on that pause button, promise! So as you can see from the image below, the game looks different.. not a lot different, nor a bad different but a very positive different which improves the game juice and makes the once minimal pretty game even more so! Players were getting confused from the text based tutorial, and didn’t realise you could actually fire a laser and wondered wth the ammo thing at the top of the page was. Well there is now a small tap text piece where you well… tap! It makes it easier to see where you should tap and in all, keeps the ui clutter down to a minimum still. The opacity is low so you can still see the sky particles through it.

Capture

The sky is now a small gradient, to resemble a standard habitable environment with a lighter sky such as earth. It makes it feel that little bit more familiar to the player, and allows them to get even more so engrossed in the environment.

THE FUTURE

The game is currently only out for android, there is two apks one with ads and one without. I am working on post v2.0 update to change this ready for the iOS release. So the game will be out on iOS soon (i really cant stress how bad i want this but i don’t have access to any hardware currently). I plan on changing this to all iap – in app purchases – allowing you to download one copy of the game ( will migrate to the lite version, pro users will get a free upgrade don’t worry) allowing them to have the option to remove those pesky ads. This improves workflow for myself and allows for updates to come out even quicker as i don’t have to switch between builds. So in summary v2.0 -> iOS -> IAP’s and leaderboards, achievements etc in expected 2.4 update!

So there you have it, a good idea on development and how things are looking from this point forward. The date is currently 24th June 2016 and im currently at an analytical internship with expedia – ikr what? – where im getting a solid understanding on the mobile ad revenue market along with desktop. This along with a potential upcoming partnership with a publisher will start CJG Studios < corriejgaming is the insta!

The Edge: Isometric Survival v2.0 – #9

So the game has been out for around 3 weeks or so now and I thought I would let everyone know how it is going, and whats to come. The game has been well recived with people throughly enjoying spending a few minutes trying to beat their previous score. This is a great thing to see from a dev perspective as its not all time wasted, regardless of money. I am still working on getting an iOS release, this release will contain the updated features that are mentioned below. These will be released over the next week in one update. V 2.0.0 of the game. This contains a new background sprite so its not all a light shade of purple/grey. The advertisements are also being changed. Revenue on the free version is not so great, and will take sometime before I get an accurate reading, so I have decided to remove the wait video and add in a reward video feature.

Skinny_1

The reward video will appear when the player beats their previous best, an option to get an extra life and make the score even higher will be displayed. If the player accepts this then they will be prompted to watch a short non-skippable advertisement. Once this has been watched, they will be returned to the game and continue their onslaught with the relevant time. Obviously the user would have then beaten their previous previous high score so will not have an option to gain another life. If you have the pro version, you get this feature OR the ability to start the game with a killstreak of your choice. SO extra life, or start next game with killstreak. This means that the pro version is avoiding iap and also ads completely. But instead is completely playable with no interent connection and isnt over powered.

V2 CONTAINS
– New background sprite
– New laser sounds
– Death sound effects
– Player dying feedback
– Option to continue after death

Skinny_3

 

  • Corrie

The Edge: Isometric Survival – #8

The Edge brings simplistic controls and unanticipated enemy movement to the action arcade genre. This infinite survival based game is sure to keep you entertained for hours on end with unlimited re-playability! Inspired by the best survival based games, The Edge takes this to a minimal level with simplistic controls and easy but effective game mechanics that is sure to entertain for hours.
With fresh game play elements and unlimited possibilities, zapping and jumping over your foes never been so fun! Collect ammunition as you destroy the enemy boids, and work your way through the killstreaks. There are hundreds of strategies, will you find the most effective one and rule over your friends?

Don’t waste any more time! You’re being called to the Isometric battlefield!

The Edge: Isometric Survival supports high resolution devices for an optimal landscape gaming experience on both mobiles and tablets.

There are hidden features and plan to release many more as development continues.

Facebook – https://www.facebook.com/theedgegame
Twitter – @corriejgreen

FREE – https://play.google.com/store/apps/details?id=com.corriejgreen.theedgeisolite
PAID – https://play.google.com/store/apps/details?id=com.corriejgreen.theedgeiso

Apperances and Interviews – #7

Getting an internship when I was 16 was just the begining for my career in development. It made me realise that I can actually make good content, and stand a chance in this competitive creative industry, so at every opportunity I say yes to it!

Below I have linked to various articles where my work is displayed. This will be updated, but I feel its important to keep tabs on these so in the future I can look back on them and see how I did in the early days 🙂  I have recently been interviewed twice for magazines and online articles that are not yet published. Note that these are just a few of many events I have been to in the UK.

Press and Journal & Xpo North & Local Website – Winning the 2015 Moray Game Jam

Lochaber High – Showing projects to High Schoolers and encouraging them to try programming etc

Undergraduate of the Year Finals – The university website, I believe this was one of them

Won the event mentioned above – Uni website

“Black horse of game design” – The Skinny Magazine

 

 

The Edge: Isometric Survival Release – #6

So happy to be writing this, been waiting a long time to finally share with the sub my game **The Edge: Isometric Survival**. I will give a quick rundown of everything from winning a game jam to finishing development today and what’s in store next. Should make for a more of an interesting read. Not to mention YouTube dev blogs which I will also be linking.
Back in 2015 I won a game jam, [as the only solo](https://www.pressandjournal.co.uk/fp/news/moray/528241/moray-student-crowned-winner-of-gaming-contest/) entrant it was quite a feat. Basically I was just a kid who made games in his spare time during high school (worked at a studio when i was 16), winning the jam further pushed my drive for game development so I decided to take the concept from the jam and create something completely new. If you would like to see the end product of the jam itself – feel free to download it below, I was waiting for this post on this sub to share it! The new product after about a year of part time development (loved every minute) An addictive arcade game where you battle against geometric shapes with lasers, rockets, shock weapons and more. The trick is that when you lose your health, you are camouflaged into the enemy boids and must navigate to a health pack before the timer runs out! I gave myself a little project during my exams a few years ago because I was bored. In a week I created [pob](https://play.google.com/store/apps/details?id=com.cjggaming.pob1) which is another mobile game. This was the first start to finish game I did, which I think was important to do so I knew how to correctly launch a game the next time.
Game Jam End Product Download – Note is it only xbox/ps4 controller compatible
Game Jam End Product Screenshot – For those who don’t want to download!

Photoshop mockups – This was to start developing the UI and see where the game was heading. I’m the worst fan of my own work a lot of the time, I have this image in my head on what I want graphics, movement, sound to be like. I feel like in this project I nearly nailed the style I was going for. This was the first menu, I then had a better idea and in 10 minutes had an animation attached to the camera following a scene with a blur. Did this effect in the jam and won me ‘style’ points if you will.

Icon – This was a fun one, I wanted minimalism and for it to be clean from text. Apart from the lite version, you can see my design process and where I went with it

Website – After reading and watching resources shared on the sub, I soon realised I needed a press kit for when the game is out so all the relevant information can be gathered from one site. Being 19 and in third year of a cs degree i was all over making a website. Only took a few hours and happy with the end result (for now, not responsive yet)

Trailer – Wanted something to show the game at an early stage so could start getting some interest! I love the result and am happy to call it my work.

IndieGoGo – OK don’t laugh, I tried really hard to get funding so I could add more streaks, more platform releases at launch and a bunch of other stuff. I don’t think i’ll make any money from this game but that’s not why i did it. I did it because it’s a game I knew I would play, and I kept highlighting this to myself during little playtest sessions throughout development when I would spend ages playing, trying a new strategy. It was a fail with about £5. That guy got a big thanks and a shoutout on the site.

Marketing – A lot of the marketing stuff can be found on the website, however I did plan something. I created a viral video on facebook with over 2.5 million views with the purpose of promoting my game. In the background I placed QR code taking you to the site. I wrote a thing on my fb about this, if you want it explained like why protein bottle etc then shoot me a line!

Final product – These are ingame shots, ones with text on them is for the stores promotional sections. Otherwise the rest is entirely in game.

Dev logs – Hope you find it interesting to see my thought process throughout development.

**SUMMARY**

If you found this interesting, I encourage you to check out the dev blogs i’ve made above. Next year for my dissertation i plan on creating a VR game using the HTC vive. I wanted to take the year out for game development and get all the little project ideas in my head out there so i can say they are done. Decided against it when I made it to the finals for British Computer Science Undergraduate of the year here if curious. As for further development it’s so hard to say “yes, the game is playable has enough features, lets get it out there” but i think i’ve stopped for release at a good time. Development won’t stop, I plan on making a google cardboard port to make it that little bit more engrossing, and also add support for the vive. Along with steam, linux, mac OS and iOS – ios should be within the month as soon as i figure out how to make a build.

If you want to know more I am happy to answer any questions!

Link to the game ANDROID FREE As you know its a nightmare to get ratings, so if you would be so kind it means the world. Happily shout out your project 🙂

Link to the game ANDROID 0.69p

Facebook page – if you want to like and keep up to date!

TL;DR – Game is out today! Click on all the bold links to see progress of development, and the last three links at the bottom to check out the game for yourself

 

Have a good one!

  • Corrie

Unity Asset Store #5

Hello,

Once again I find myself writing – to myself – about something ive been doing or am interested. As of writing this I am sitting in my dorm drinking a starbucks, having a break from week two of my third year computer science degree revision. Isnt that grand? A slight break in the form of writing more? Anyway Unity!

Last year I released a group of assets on the store for $5 and they sold quite well, some people have used the assets in their games which is really cool and I look forward to seeing what they do with them. Last month I again made some assets with the same style, in the hope that the people who bought the first pack might want to keep to the low poly consistency. I suck as submitting packages though. I failed the first submission as  one of the prefabs was actually an older prefab and not the one in the scene I was currently working on. I digress. I fixed the small texture issue and uploaded again, last night it was accepted. If you want to check out the assets then links will be below with some images. If you do happen to read this. Tweet me “@corriejgreen Unity Low Poly 123” Ill hook you up with a code to redeem the packages for FREE. Which equates to $10 worth of assets.

Low Poly Terrain Assets 1

Low Poly Terrain Assets 2

terrain assets v2 ambient occlusion occlusion

terrain assets v2 post processed

terrain assets v2 close

Have a good one.

Corrie Green