User posts ez2rfc
08 February 2016 12:59
http://reaviu.com/wgl/sl/REAViU_diadora_shoes/
when I open my project on Android, Chrome. It looks good.
but when I load my project on safari, I-phone, it's zagged.
I set my canvas resolution factor to 2.
and m_config to P_LOW
is it the canvas resolution issue?
when I open my project on Android, Chrome. It looks good.
but when I load my project on safari, I-phone, it's zagged.
I set my canvas resolution factor to 2.
and m_config to P_LOW
is it the canvas resolution issue?
08 February 2016 12:49
07 February 2016 14:07
11 January 2016 17:01
Hi guys :)
How can I build my own preloader?
what i understand is put the code like below to my project js file.. but i still can't figure out what is the roll of "christmas_tree.json" file and how to create it. I found the blend file and opened but I can't find anything related to the preloader scene.
Can you give me some hint or link that I can look?
How can I build my own preloader?
what i understand is put the code like below to my project js file.. but i still can't figure out what is the roll of "christmas_tree.json" file and how to create it. I found the blend file and opened but I can't find anything related to the preloader scene.
Can you give me some hint or link that I can look?
"use strict";
b4w.register("new_year_main", function(exports, require) {
…
var m_preloader = require("preloader");
…
var PRELOADING = true;
…
function init_cb(canvas_elem, success) {
if(!success) {
console.log("b4w init failure");
return;
}
m_app.enable_controls();
if (PRELOADING)
m_preloader.create_simple_preloader({
bg_color:"#00000000",
bar_color:"#FFF",
background_container_id: "background_image_container",
canvas_container_id: "canvas3d",
preloader_fadeout: true});
…
load();
}
function load() {
if (DEBUG)
_assets_dir = "../../deploy/assets/new_year/";
else
_assets_dir = "../../assets/new_year/";
var p_cb = PRELOADING ? preloader_cb : null;
m_data.load( _assets_dir + "christmas_tree.json", load_cb, p_cb, true);
}
10 January 2016 12:15
Hi there. I'm pretty new to coding.
I tried to put code like below.
"use strict"
// register the application module
b4w.register("REAViU_Nike_Shoes", function(exports, require) {
// import modules used by the app
var m_app = require("app");
var m_data = require("data");
var m_config = require("config");
m_config.set("canvas_resolution_factor", 1010);
m_config.set("quality", 2);
….
I'm not sure that the way i use the quality module..
can you help me to check my link?
http://reaviu.com/wgl/Sample/Sample-nikeShoes/
still blurry on mobile device. I can see the texture more clearly but the whole looking is not that improved.
it looks like when I publish scene without Use Device Pixel Ratio option on goocreate.com.
I tried to put code like below.
"use strict"
// register the application module
b4w.register("REAViU_Nike_Shoes", function(exports, require) {
// import modules used by the app
var m_app = require("app");
var m_data = require("data");
var m_config = require("config");
m_config.set("canvas_resolution_factor", 1010);
m_config.set("quality", 2);
….
I'm not sure that the way i use the quality module..
can you help me to check my link?
http://reaviu.com/wgl/Sample/Sample-nikeShoes/
still blurry on mobile device. I can see the texture more clearly but the whole looking is not that improved.
it looks like when I publish scene without Use Device Pixel Ratio option on goocreate.com.
07 January 2016 04:53
06 January 2016 04:02
06 January 2016 03:47